修复生产登录页面缓存

This commit is contained in:
inman
2026-07-24 16:47:07 +08:00
parent 3207220d1a
commit ffbbbc2408
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,12 @@ server {
root /usr/share/nginx/html;
index index.html;
location = /index.html {
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
}
location / {
try_files $uri $uri/ /index.html;
}