标签:bre name admin sha 入口 thinkphp csharp min request
location / {
if (!-e $request_filename) {
rewrite /admin.php(.*)$ /admin.php?s=/$1 last; #存在admin.php
rewrite /index.php(.*)$ /index.php?s=/$1 last; #存在index.php
rewrite ^(.*)$ /index.php?s=/$1 last; #不存在index.php
break;
}
}
标签:bre name admin sha 入口 thinkphp csharp min request
原文地址:https://www.cnblogs.com/JANCHAN/p/11011666.html