summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-10-15 21:42:57 +0200
committermakefu <github@syntax-fehler.de>2019-10-15 21:42:57 +0200
commit0116beb65839f61763d4e3e6bf9ba381de02435b (patch)
treeaf6db7a2a93150aa660db2f6b3052956c6ca49e8 /makefu/2configs
parentf786002cb3db57102d2382a450fa3715dac4742f (diff)
ma nginx/euer.wiki: use settings instead of extraConfig all the way down
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/nginx/euer.wiki.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/makefu/2configs/nginx/euer.wiki.nix b/makefu/2configs/nginx/euer.wiki.nix
index 56f44f9ad..a6766eeec 100644
--- a/makefu/2configs/nginx/euer.wiki.nix
+++ b/makefu/2configs/nginx/euer.wiki.nix
@@ -26,20 +26,19 @@ in {
pools.euer-wiki = {
inherit user group;
listen = fpm-socket;
- config = {
+ settings = {
"pm" = "dynamic";
"pm.max_children" = 5;
"pm.start_servers" = 2;
"pm.min_spare_servers" = 1;
"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;
- extraConfig = ''
- chdir = /
- php_admin_value[error_log] = 'stderr'
- php_admin_flag[log_errors] = on
- catch_workers_output = yes
- '';
};
};