nginx中rewrite文件

location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}

原文地址:https://www.cnblogs.com/will--1213/p/14801878.html