summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-10-28 11:53:39 +0100
committermakefu <github@syntax-fehler.de>2019-10-28 11:53:39 +0100
commit6235c7c5bc4fda9822645b356e7db26ed46fe9d0 (patch)
tree35323391175403734e54b2c5ed6c0bf7d6be4f18
parentf566e3433574bcecdcdee2528d73a9d202be62f6 (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;