From ef69a5ffe5a9db33dd4fff5544ded2fea8f7a1b0 Mon Sep 17 00:00:00 2001 From: Chris Fryer Date: Wed, 19 Jun 2019 23:56:25 +0100 Subject: [PATCH] Set php-fpm socket owner and group Fixes #166 --- templates/www.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/www.conf.j2 b/templates/www.conf.j2 index aaab17a..da0921c 100644 --- a/templates/www.conf.j2 +++ b/templates/www.conf.j2 @@ -4,6 +4,9 @@ listen.allowed_clients = 127.0.0.1 user = {{ php_fpm_pool_user }} group = {{ php_fpm_pool_group }} +listen.owner = {{ php_fpm_pool_user }} +listen.group = {{ php_fpm_pool_group }} + pm = dynamic pm.max_children = 50 pm.start_servers = 5