update phpfpm settings for NixOS 19.09

This commit is contained in:
Daniel Frank 2019-10-11 20:44:59 +02:00
parent 8a3987110d
commit dacef180c5
Signed by: tokudan
GPG key ID: 063CCCAD04182D32
2 changed files with 2 additions and 0 deletions

View file

@ -83,6 +83,7 @@ in
}; };
services.phpfpm.pools."${phppoolName}" = { services.phpfpm.pools."${phppoolName}" = {
listen = phpfpmHostPort; listen = phpfpmHostPort;
user = "${pfaUser}";
extraConfig = '' extraConfig = ''
user = ${pfaUser} user = ${pfaUser}
pm = dynamic pm = dynamic

View file

@ -108,6 +108,7 @@ in
}; };
services.phpfpm.pools."${poolName}" = { services.phpfpm.pools."${poolName}" = {
listen = config.variables.roundcubePhpfpmHostPort; listen = config.variables.roundcubePhpfpmHostPort;
user = "${config.variables.roundcubeUser}";
extraConfig = '' extraConfig = ''
user = ${config.variables.roundcubeUser} user = ${config.variables.roundcubeUser}
pm = dynamic pm = dynamic