新增伪静态规则文件

feat/task1-c-wallet
devil_gong 2018-12-29 13:49:13 +08:00
parent 05404fb186
commit bb4ecf5df5
2 changed files with 6 additions and 1 deletions

5
public/htaccess-nginx Normal file
View File

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