- set $path_info "";
- set $real_script_name $fastcgi_script_name;
- if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
- #set $real_script_name $1;
- set $path_info $2;
- }
- fastcgi_param PATH_INFO $path_info;
本文共 243 字,大约阅读时间需要 1 分钟。
转载于:https://blog.51cto.com/chengtao1633/801402