原使Nginx支持pathinfo模式
nginx.conf
新版本的nginx也可以使用fastcgi_split_path_info指令来设置PATH_INFO,旧的方式不再推荐使用,在location段添加如下配置
server {
listen 80;
server_name www.fastadmin.org;
root /var/www/html/AppStoreAdmin/public;
location / {
index index.html index.htm index.php;
最后更新于 2020年5月13日 …
近期评论