nginx部署vue项目刷新页面404
location / {
root ./html/dist/;
index index.html;
try_files $uri $uri/ /index.html;
}
添加红色配置
本文来自博客园,作者:脆,转载请注明原文链接:https://www.cnblogs.com/Wei-notes/p/16955857.html
location / {
root ./html/dist/;
index index.html;
try_files $uri $uri/ /index.html;
}
添加红色配置
本文来自博客园,作者:脆,转载请注明原文链接:https://www.cnblogs.com/Wei-notes/p/16955857.html