Don't require static lifetime in serve_php
This commit is contained in:
parent
fd8fe9ce11
commit
cbb5742ac3
2 changed files with 3 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ location @proxy {{
|
|||
NginxServer::new(domain, content, command_runner)
|
||||
}
|
||||
|
||||
pub fn new_php(domain: &'a str, socket_path: Cow<'a, str>, static_path: &'a str, command_runner: &'a C) -> Self {
|
||||
pub fn new_php(domain: &'a str, socket_path: Cow<'a, str>, static_path: Cow<'a, str>, command_runner: &'a C) -> Self {
|
||||
let content = server_config(domain, &format!("
|
||||
root {};
|
||||
index index.html index.php;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue