- Location ^~ /luohe_park {
- try_files $uri $uri/ @router;
- index index.html index.htm;
- error_page 405 =200 http://$host$request_uri;
- }
- Location @router {
- rewrite ^.*$ /luohe_park/index.html last;
- }
- location ^~ /luohe_operation {
- try_files $uri $uri/ @router1;
- index index.html index.htm;
- error_page 405 =200 http://$host$request_uri;
- }
- location @router1 {
- rewrite ^.*$ /luohe_operation/index.html last;
- }
|