记vue打包上传服务器 跳转404 nginx 配置问题

 

在nginx配置文件中加入一下 即可跳转页面

location / {
index index.html index.htm index.php;
try_files $uri $uri/ /index.html;
}

posted @ 2020-12-08 14:39  Liiu  阅读(345)  评论(0编辑  收藏  举报