NGINX使用各种开源框架时PATHINFO无效时的配置
NGINX使用各种开源框架时PATHINFO无效时的配置
fastcgi_split_path_info ^(.+?.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name;