时间:2021-07-01 10:21:17 帮助过:2人阅读
隐去文件名
location /{
index index.html index.htm index.php;
if (-e $request_filename) {
break;
}
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
}
你可以使用一种框架,都带路由功能