This commit is contained in:
parent
e068960f5d
commit
1ee92fda8d
1 changed files with 4 additions and 0 deletions
|
|
@ -5,5 +5,9 @@ in {
|
||||||
root = "/var/www/${torDomain}";
|
root = "/var/www/${torDomain}";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
locations."~ \\.php$".extraConfig = ''
|
||||||
|
fastcgi_pass unix:${config.services.phpfpm.pools.mypool.socket};
|
||||||
|
fastcgi_index index.php;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue