|
@@ -35,9 +35,9 @@ server {
|
|
|
# include /etc/nginx/naxsi.rules
|
|
|
}
|
|
|
|
|
|
- location ~ \.php$ {
|
|
|
+ location ~ ^(.*)$ {
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
- # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
|
|
|
+ # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini (No settings!)
|
|
|
|
|
|
# With php-cgi alone:
|
|
|
fastcgi_pass web-php7:9000;
|