summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-10-28 11:53:39 +0100
committerJeschli <jeschli@gmail.com>2019-11-14 15:36:11 +0100
commite2055f8e81e19c7cc6ea150bd4e8d4c1015fb685 (patch)
treefd469a7d4172583b46ee3e5943fbf49fc1929df4
parentbe39568a2fd25b6b3ce1d4f339e9f53bd4842774 (diff)
ma phpfpm: set listen.owner in config
-rw-r--r--makefu/2configs/deployment/owncloud.nix1
-rw-r--r--makefu/2configs/nginx/euer.wiki.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index 59dfa3203..ed3155efc 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -127,6 +127,7 @@ let
group = "nginx";
listen = socket;
settings = {
+ "listen.owner" = "nginx";
"pm" = "dynamic";
"pm.max_children" = 32;
"pm.max_requests" = 500;
diff --git a/makefu/2configs/nginx/euer.wiki.nix b/makefu/2configs/nginx/euer.wiki.nix
index a6766eeec..2f44d8cc1 100644
--- a/makefu/2configs/nginx/euer.wiki.nix
+++ b/makefu/2configs/nginx/euer.wiki.nix
@@ -27,6 +27,7 @@ in {
inherit user group;
listen = fpm-socket;
settings = {
+ "listen.owner" = user;
"pm" = "dynamic";
"pm.max_children" = 5;
"pm.start_servers" = 2;