phpfpm: fix permission errors for postfixadmin (first try)
This commit is contained in:
parent
1f058dcc52
commit
683289bf9e
|
@ -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
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue