nginx.conf 625 B

12345678910111213141516
  1. Location ^~ /luohe_park {
  2. try_files $uri $uri/ @router;
  3. index index.html index.htm;
  4. error_page 405 =200 http://$host$request_uri;
  5. }
  6. Location @router {
  7. rewrite ^.*$ /luohe_park/index.html last;
  8. }
  9. location ^~ /luohe_operation {
  10. try_files $uri $uri/ @router1;
  11. index index.html index.htm;
  12. error_page 405 =200 http://$host$request_uri;
  13. }
  14. location @router1 {
  15. rewrite ^.*$ /luohe_operation/index.html last;
  16. }