fix docker部署后刷新页面404
This commit is contained in:
parent
9419060b55
commit
996178872a
@ -29,8 +29,8 @@ http {
|
|||||||
# 主目录
|
# 主目录
|
||||||
expires off;
|
expires off;
|
||||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||||
index index.html;
|
|
||||||
root /app/public;
|
root /app/public;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /assets {
|
location /assets {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user