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 = {
user = "nobody";
settings = {
"listen.owner" = "nginx";
"listen.group" = "nginx";
"listen.mode" = "0600";
"pm" = "dynamic";
"pm.max_children" = 5;
"pm.start_servers" = 2;