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;
|
||||
network.enable = false;
|
||||
};
|
||||
services.phpfpm.pools.anythingforafriend = {
|
||||
services.phpfpm = {
|
||||
phpOptions = ''
|
||||
display_errors = on;
|
||||
'';
|
||||
pools.anythingforafriend = {
|
||||
user = "www-data";
|
||||
settings = {
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
|
@ -54,6 +58,7 @@
|
|||
};
|
||||
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
|
||||
};
|
||||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."new.anythingforafriend.com" = {
|
||||
|
|
Loading…
Reference in New Issue