diff --git a/nginx.conf b/nginx.conf index 9ebcdf3..3f3753f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,9 +30,8 @@ http { index index.html; } location ~ \.php$ { - try_files $uri =404; - fastcgi_index index.php; - include fastcgi_params; + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/var/run/php/php8.3-fpm.sock; } error_page 500 502 503 504 /50x.html;