vue-router mode为history模式打包部署到nginx所走过的坑
location /szoa-web {
add_header Cache-Control no-store;
add_header Pragma no-cache;
alias /home/web/szoa-web;
index index.html index.htm;
try_files $uri $uri/ /szoa-web/index.html;
# try
原创
2020-06-02 18:08:14 ·
1111 阅读 ·
0 评论