server {
listen 80;
server_name _;
root /var/www/xenforo;
index index.php;
client_max_body_size 128M;
location / {
try_files $uri $uri/ /index.php?$uri&$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
}
location ~ /\. {
deny all;
}
}
root@663318:~# grep -nE '^(user|group|listen|listen.owner|listen.group|listen.mode)' /etc/php/8.3/fpm/pool.d/www.conf
28:user = www-data
29:group = www-data
41:listen = /run/php/php8.3-fpm.sock
53:listen.owner = www-data
54:listen.group = www-data
root@663318:~#