让nginx支持 pathinfo

2019-8-6 流沙 PHP

直接修改 nginx的配置文件 # 典型配置 location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $DOCUMENT_ROOT$fastcgi_script_name; include fastcgi_params; } # 修改第1,6行,支持pathinfo location ~ \...

阅读全文>>

评论(0) 浏览(222)


Powered by 流沙团