nixbld: fix flarum 'bad gateway' error

This commit is contained in:
Sebastien Bourdeauducq 2019-09-18 14:23:14 +08:00
parent f531f0c0d7
commit 0f45d03e32
1 changed files with 3 additions and 0 deletions

View File

@ -501,6 +501,9 @@ ACTION=="add", SUBSYSTEM=="tty", \
services.phpfpm.pools.flarum = { services.phpfpm.pools.flarum = {
user = "nobody"; user = "nobody";
settings = { settings = {
"listen.owner" = "nginx";
"listen.group" = "nginx";
"listen.mode" = "0600";
"pm" = "dynamic"; "pm" = "dynamic";
"pm.max_children" = 5; "pm.max_children" = 5;
"pm.start_servers" = 2; "pm.start_servers" = 2;