This commit is contained in:
Adrian Heine 2022-01-09 11:51:53 +01:00
parent 0d41e8a833
commit 4eeb280f0d
21 changed files with 44 additions and 44 deletions

View file

@ -78,9 +78,8 @@ pub fn php_snippet<SOCKET: AsRef<Path>, STATIC: AsRef<Path>>(
pub fn redir_snippet(target: &str) -> String {
format!(
"location / {{
return 301 $scheme://{}$request_uri;
}}",
target
return 301 $scheme://{target}$request_uri;
}}"
)
}