# **刷新页面404** 1、在配Nginx置文件里加 ``` location / { try_files $uri $uri/ /index.html; } ``` ![](https://img.kancloud.cn/5d/77/5d77bdaf4f63a9436caa6969c78fa074_698x724.png)