location / {
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1;
}
}
nginx 重写去掉index.php
猜你喜欢
转载自blog.csdn.net/qq_26516097/article/details/88757002
今日推荐
周排行