ma nginx/euer.wiki: use settings instead of extraConfig all the way down
This commit is contained in:
parent
667cb111a7
commit
49c8db219e
|
@ -26,20 +26,19 @@ in {
|
||||||
pools.euer-wiki = {
|
pools.euer-wiki = {
|
||||||
inherit user group;
|
inherit user group;
|
||||||
listen = fpm-socket;
|
listen = fpm-socket;
|
||||||
config = {
|
settings = {
|
||||||
"pm" = "dynamic";
|
"pm" = "dynamic";
|
||||||
"pm.max_children" = 5;
|
"pm.max_children" = 5;
|
||||||
"pm.start_servers" = 2;
|
"pm.start_servers" = 2;
|
||||||
"pm.min_spare_servers" = 1;
|
"pm.min_spare_servers" = 1;
|
||||||
"pm.max_spare_servers" = 3;
|
"pm.max_spare_servers" = 3;
|
||||||
|
"chdir" = "/";
|
||||||
|
"php_admin_value[error_log]" = "stderr";
|
||||||
|
"php_admin_flag[log_errors]" = "on";
|
||||||
|
"catch_workers_output" = "yes";
|
||||||
|
|
||||||
};
|
};
|
||||||
phpEnv.twconf = base-cfg;
|
phpEnv.twconf = base-cfg;
|
||||||
extraConfig = ''
|
|
||||||
chdir = /
|
|
||||||
php_admin_value[error_log] = 'stderr'
|
|
||||||
php_admin_flag[log_errors] = on
|
|
||||||
catch_workers_output = yes
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue