diff --git a/contrib/nginx.conf b/contrib/nginx.conf index d668ce09..ecb90e15 100644 --- a/contrib/nginx.conf +++ b/contrib/nginx.conf @@ -30,6 +30,7 @@ server { location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; + try_files $fastcgi_script_name =404; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct fastcgi_index index.php; include fastcgi_params;