diff --git a/nginx-sample.conf b/nginx-sample.conf index 051811ef..5a2deab7 100644 --- a/nginx-sample.conf +++ b/nginx-sample.conf @@ -15,12 +15,13 @@ server { include snippets/fastcgi-php.conf; fastcgi_read_timeout 240; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; + # for ubuntu 22.04+ it will be php8.1-sock } location ~ /\.ht { deny all; } - + location /system { deny all; return 404;