Show PHP errors so we can figure out what's wrong
This commit is contained in:
parent
422aa2abb5
commit
5b814fb064
|
@ -38,7 +38,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
network.enable = false;
|
network.enable = false;
|
||||||
};
|
};
|
||||||
services.phpfpm.pools.anythingforafriend = {
|
services.phpfpm = {
|
||||||
|
phpOptions = ''
|
||||||
|
display_errors = on;
|
||||||
|
'';
|
||||||
|
pools.anythingforafriend = {
|
||||||
user = "www-data";
|
user = "www-data";
|
||||||
settings = {
|
settings = {
|
||||||
"listen.owner" = config.services.nginx.user;
|
"listen.owner" = config.services.nginx.user;
|
||||||
|
@ -54,6 +58,7 @@
|
||||||
};
|
};
|
||||||
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
|
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."new.anythingforafriend.com" = {
|
virtualHosts."new.anythingforafriend.com" = {
|
||||||
|
|
Loading…
Reference in New Issue