phpfpm: fix permission errors for roundcube (first try)
This commit is contained in:
parent
ed07963d09
commit
1f058dcc52
|
@ -109,14 +109,16 @@ in
|
||||||
services.phpfpm.pools."${poolName}" = {
|
services.phpfpm.pools."${poolName}" = {
|
||||||
user = "${config.variables.roundcubeUser}";
|
user = "${config.variables.roundcubeUser}";
|
||||||
group = "${config.variables.roundcubeUser}";
|
group = "${config.variables.roundcubeUser}";
|
||||||
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;
|
||||||
'';
|
"listen.owner" = "nginx";
|
||||||
|
"listen.group" = "nginx";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
users.extraUsers."${config.variables.roundcubeUser}" = { };
|
users.extraUsers."${config.variables.roundcubeUser}" = { };
|
||||||
users.extraGroups."${config.variables.roundcubeUser}" = { };
|
users.extraGroups."${config.variables.roundcubeUser}" = { };
|
||||||
|
|
Loading…
Reference in a new issue