随笔分类 -  服务端

摘要:现象描述 页面由首页A通过页面路由跳转到B页面,可以正常加载;但是刷新B页面后,会出现404的问题 解决方式 在nginx配置文件中添加以下内容 location / { root html; index index.html; try_files $uri $uri/ /index.html; } 阅读全文
posted @ 2024-08-01 15:54 扆飞翔 阅读(29) 评论(0) 推荐(0)