diff options
author | lassulus <lassulus@lassul.us> | 2019-10-09 23:28:22 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-09 23:28:22 +0200 |
commit | 8c9b0942085eb694de220d4d3b165ea1d20ec3e4 (patch) | |
tree | fa6129614d9c76b3498a113bd4dcc4d1705099a2 /lass/2configs | |
parent | 9ae5cd22a6e5472de65e48682eb51fc4c9f1457e (diff) |
l websites serveBB: use new phpfpm config
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/util.nix | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix index a807f7160..b973d680d 100644 --- a/lass/2configs/websites/util.nix +++ b/lass/2configs/websites/util.nix @@ -60,21 +60,23 @@ rec { expires max; ''; }; - services.phpfpm.poolConfigs."${domain}" = '' - listen = /srv/http/${domain}/phpfpm.pool - user = nginx - group = nginx - pm = dynamic - pm.max_children = 25 - pm.start_servers = 5 - pm.min_spare_servers = 3 - pm.max_spare_servers = 20 - listen.owner = nginx - listen.group = nginx - php_admin_value[error_log] = 'stderr' - php_admin_flag[log_errors] = on - catch_workers_output = yes - ''; + services.phpfpm.pools."${domain}" = { + user = "nginx"; + group = "nginx"; + extraConfig = '' + listen = /srv/http/${domain}/phpfpm.pool + pm = dynamic + pm.max_children = 25 + pm.start_servers = 5 + pm.min_spare_servers = 3 + pm.max_spare_servers = 20 + listen.owner = nginx + listen.group = nginx + php_admin_value[error_log] = 'stderr' + php_admin_flag[log_errors] = on + catch_workers_output = yes + ''; + }; }; serveOwncloud = domains: |