From 0f45d03e323ea4236924ae2da76addcb28914e57 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 18 Sep 2019 14:23:14 +0800 Subject: [PATCH] nixbld: fix flarum 'bad gateway' error --- nixbld-etc-nixos/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 1e673f5..fde849c 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -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;