mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Update lemp.nix
This commit is contained in:
parent
4f9cc2cda3
commit
0800cba6b0
1 changed files with 1 additions and 1 deletions
2
lemp.nix
2
lemp.nix
|
@ -3,7 +3,7 @@
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."127.0.0.1" = {
|
virtualHosts."127.0.0.1" = {
|
||||||
root = "/var/www/blog";
|
root = "/var/www/html";
|
||||||
locations."~ \.php$".extraConfig = ''
|
locations."~ \.php$".extraConfig = ''
|
||||||
fastcgi_pass unix:${config.services.phpfpm.pools.mypool.socket};
|
fastcgi_pass unix:${config.services.phpfpm.pools.mypool.socket};
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue