关于nginx页面刷新404的问题,记录一下
location / {
root D:/nginx/nginx-1.19.0/dist;
index index.html index.htm;
try_files uriuriuri/ /index.html; ##解决页面刷新404问题
}
关于nginx页面刷新404的问题
最新推荐文章于 2024-04-30 09:00:57 发布
关于nginx页面刷新404的问题,记录一下
location / {
root D:/nginx/nginx-1.19.0/dist;
index index.html index.htm;
try_files uriuriuri/ /index.html; ##解决页面刷新404问题
}