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
commit403d63d0a71299348cdb5914b27b1f85bb9e67dd (patch)
tree98468c322a2a302a38f7c425468ee3c5825bc8b8
parent3cf5370fd20ac5745b46eb7bf51935b9b394fb37 (diff)
ma phpfpm: set listen.owner in config
-rw-r--r--2configs/deployment/owncloud.nix1
-rw-r--r--2configs/nginx/euer.wiki.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/2configs/deployment/owncloud.nix b/2configs/deployment/owncloud.nix
index 59dfa3203..ed3155efc 100644
--- a/2configs/deployment/owncloud.nix
+++ b/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/2configs/nginx/euer.wiki.nix b/2configs/nginx/euer.wiki.nix
index a6766eeec..2f44d8cc1 100644
--- a/2configs/nginx/euer.wiki.nix
+++ b/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;