first commit
This commit is contained in:
7
public/nginx.htaccess
Normal file
7
public/nginx.htaccess
Normal file
@@ -0,0 +1,7 @@
|
||||
try_files $uri $uri/ /index.php?$args; #去掉index.php
|
||||
location / {
|
||||
if (!-e $request_filename){
|
||||
rewrite ^/(.*)$ /index.php?s=/$1 last;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user