Initial YakPanel commit
This commit is contained in:
14
rewrite/nginx/ShopWind.conf
Normal file
14
rewrite/nginx/ShopWind.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
location / {
|
||||
#Redirect everything that isn't a real file to index.php
|
||||
try_files $uri $uri/ /index.php$is_args$args;
|
||||
}
|
||||
#If you want a single domain name at the front and back ends
|
||||
location /admin {
|
||||
try_files $uri $uri/ /admin/index.php$is_args$args;
|
||||
}
|
||||
location /mobile {
|
||||
try_files $uri $uri/ /mobile/index.php$is_args$args;
|
||||
}
|
||||
location /api {
|
||||
try_files $uri $uri/ /api/index.php$is_args$args;
|
||||
}
|
||||
Reference in New Issue
Block a user