fix: H5 index.html no-cache 头(避免发版后旧首页缓存)

This commit is contained in:
2026-09-13 00:38:39 +08:00
parent bb0863cc78
commit 7b22a9a7b6
+3
View File
@@ -3,6 +3,9 @@ server {
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /index.html {
add_header Cache-Control "no-cache";
}
location / {
try_files $uri $uri/ /index.html;
}