nginx try_files 实现不存在的连接跳转index

location / {
try_files $uri u r i / / i n d e x . p h p ? uri/ /index.php? args;
}

发布了48 篇原创文章 · 获赞 36 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/qq_34924407/article/details/85322144