From 4dd57803e2bda0c1a00cbdaa8e58ee5876e15f48 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 11 Sep 2023 19:51:59 +0300 Subject: [PATCH] roles/php-fpm: fix user/group for php 8.2 configs --- roles/php-fpm/templates/php8.2-pool.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/php-fpm/templates/php8.2-pool.conf.j2 b/roles/php-fpm/templates/php8.2-pool.conf.j2 index 13aca27..0035d20 100644 --- a/roles/php-fpm/templates/php8.2-pool.conf.j2 +++ b/roles/php-fpm/templates/php8.2-pool.conf.j2 @@ -27,8 +27,8 @@ ; --allow-to-run-as-root option to work. ; Default Values: The user is set to master process running user by default. ; If the group is not set, the user's group is used. -user = www-data -group = www-data +user = nginx +group = nginx ; The address on which to accept FastCGI requests. ; Valid syntaxes are: @@ -52,8 +52,8 @@ listen = /run/php/php8.2-fpm-{{ domain_name }}.sock ; and group can be specified either by name or by their numeric IDs. ; Default Values: Owner is set to the master process running user. If the group ; is not set, the owner's group is used. Mode is set to 0660. -listen.owner = www-data -listen.group = www-data +listen.owner = nginx +listen.group = nginx ;listen.mode = 0660 ; When POSIX Access Control Lists are supported you can set them using