来个前端大哥帮我瞅瞅,用nginx部署vue,
root指定dist目录总是访问不到index.html,
但是我直接把打nginx的html目录下默认的index.html替换为项目的index.html就可以访问
这是啥原因?
注意:不是Linux用户权限问题,文件的权限都是755,可读可执行的
root指定dist目录总是访问不到index.html,
但是我直接把打nginx的html目录下默认的index.html替换为项目的index.html就可以访问
这是啥原因?
注意:不是Linux用户权限问题,文件的权限都是755,可读可执行的
展开
44
24
![[睡]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_9.8cf4c38.png)
![[哭笑]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_61.a296509.png)