nginx部署前端页面空白
来源:互联网
时间:2025-11-08 01:48:16
浏览量:1
nginx前端部署 浏览器页面空白,报错Failed to load resource: the server responded with a status of 404 (Not Found)
1.问题。尝试本地打包后部署到nginx,浏览器打开空白,F12查看报错
2.解决方案。在 nginx.conf 文件中配置解压
3.原因。vue+webpack 项目打包的时候配置了 压缩文件;
上一篇:怎么查车是什么版本配置