mirror of
https://github.com/likeshop-github/likeshop.git
synced 2024-12-27 02:04:23 +08:00
增加宝塔部署nginx文件
This commit is contained in:
parent
6572e124d5
commit
5ce3c16fd7
1 changed files with 5 additions and 0 deletions
5
nginx.rewrite
Normal file
5
nginx.rewrite
Normal file
|
@ -0,0 +1,5 @@
|
|||
location / {
|
||||
if (!-e $request_filename){
|
||||
rewrite ^(.*)$ /index.php?s=$1 last; break;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue