history模式下,后期项目上线需要配合处理路径问题,否则刷新的时候会报404
ng配置
location /{
root /root/gshop;
index index.html;
try_files $uri $uri/ /index.html;
history模式下,后期项目上线需要配合处理路径问题,否则刷新的时候会报404
ng配置
location /{
root /root/gshop;
index index.html;
try_files $uri $uri/ /index.html;
225

被折叠的 条评论
为什么被折叠?
