![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
小爱同学-Allen
一花一世界,一叶一菩提
展开
-
ng如何清理缓存还有解决跨域的问题
server { listen 19095; server_name localhost; #运营 #charset koi8-r; #access_log logs/host.access.log main; location ^~/easy/manager {...原创 2020-04-09 17:09:47 · 787 阅读 · 0 评论 -
在使用vue router把模式改成history时,刷新404问题解决方案
如果我们在这边模式是用history,部署到ng上面就第一次页面不会出现问题,刷新页面就会出现404,有以下解决方案 方案一 (这种方式容易被第三方劫持) location /{ root /data/nginx/html; index index.html index.htm; error_page 404 /index.html; } ...原创 2020-04-03 13:37:55 · 3046 阅读 · 0 评论