In order to use PATH_INFO you need to edit your conf\domains.d\project.conf and replace location ~ \.php$ { with
conf\domains.d\project.conf
location ~ \.php$ {
location ~ [^/]\.php(/|$) { if (!-f $document_root$fastcgi_script_name) { return 404; } include nginx.fastcgi.conf; include nginx.redis.conf; fastcgi_pass php_farm; fastcgi_hide_header X-Powered-By; }
Log in to post a comment.
In order to use PATH_INFO you need to edit your
conf\domains.d\project.conf
and replacelocation ~ \.php$ {
with