phpfpm: fix permission errors for postfixadmin (first try)

This commit is contained in:
Daniel Frank 2019-11-29 21:01:56 +01:00
parent 1f058dcc52
commit 683289bf9e
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -84,17 +84,15 @@ in
services.phpfpm.pools."${phppoolName}" = { services.phpfpm.pools."${phppoolName}" = {
user = "${pfaUser}"; user = "${pfaUser}";
group = "${pfaGroup}"; group = "${pfaGroup}";
extraConfig = '' settings = {
pm = dynamic "pm" = "dynamic";
pm.max_children = 75 "pm.max_children" = 75;
pm.min_spare_servers = 5 "pm.min_spare_servers" = 5;
pm.max_spare_servers = 20 "pm.max_spare_servers" = 20;
pm.max_requests = 10 "pm.max_requests" = 10;
catch_workers_output = 1 "catch_workers_output" = 1;
php_admin_value[upload_max_filesize] = 42M "listen.owner" = "nginx";
php_admin_value[post_max_size] = 42M "listen.group" = "nginx";
php_admin_value[memory_limit] = 128M };
php_admin_value[cgi.fix_pathinfo] = 1
'';
}; };
} }