l websites serveBB: use new phpfpm config

This commit is contained in:
lassulus 2019-10-09 23:28:22 +02:00
parent 9ae5cd22a6
commit 8c9b094208

View File

@ -60,10 +60,11 @@ rec {
expires max; expires max;
''; '';
}; };
services.phpfpm.poolConfigs."${domain}" = '' services.phpfpm.pools."${domain}" = {
user = "nginx";
group = "nginx";
extraConfig = ''
listen = /srv/http/${domain}/phpfpm.pool listen = /srv/http/${domain}/phpfpm.pool
user = nginx
group = nginx
pm = dynamic pm = dynamic
pm.max_children = 25 pm.max_children = 25
pm.start_servers = 5 pm.start_servers = 5
@ -76,6 +77,7 @@ rec {
catch_workers_output = yes catch_workers_output = yes
''; '';
}; };
};
serveOwncloud = domains: serveOwncloud = domains:
let let