可以参考Thinkphp51的伪静态设置
参考TP51 https://www.kancloud.cn/manual/thinkphp5_1/353955
nginx伪静态
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}