location / { try_files $uri $uri/ @router; index index.html; } location @router{ rewrite ^.*$ /index.html last; }
发表 :1年前 | 修改过