From bc72ab5cd5513d65f36fc368ad50fef76cb5349b Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 12 Nov 2024 19:16:41 +0100 Subject: [PATCH] Update INSTALL.sh --- services/proxy/INSTALL.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/proxy/INSTALL.sh b/services/proxy/INSTALL.sh index 424305df..c6cd0428 100644 --- a/services/proxy/INSTALL.sh +++ b/services/proxy/INSTALL.sh @@ -8,7 +8,8 @@ mv Caddyfile /etc/caddy/Caddyfile service caddy restart # PHP - chown caddy:caddy /run/php-fpm/www.sock +sed -i 's/^user = .*/user = caddy/' /etc/php-fpm.d/www.conf +sed -i 's/^group = .*/group = caddy/' /etc/php-fpm.d/www.conf service php-fpm restart