Loading... location / { root /usr/share/nginx/html/; index index.html index.htm; try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } Last modification:June 6, 2019 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏