chore: main 병합 — 다시 연 탭 로딩 멈춤 수정

This commit is contained in:
minaChoi committed 2026-10-23 16:19:55 +09:00
commit fbb0c475d0
2 files changed
+27 -2

No files matched your search

+3 -2
View File
@@ -52,13 +52,14 @@ server {
}
location @static {
add_header Cache-Control "no-cache";
add_header Cache-Control "no-store";
try_files $uri.html /index.html;
}
# HTML 은 no-store: no-cache 면 다시 연 탭·뒤로 가기에서 예전 HTML 을 다시 써서, 배포로 지워진 빌드 파일을 부르다 멈춘다
# SPA: /gak 처럼 빌드 때 만든 페이지별 HTML(gak.html)이 있으면 그것을, 없으면 index.html. 폴더는 안 찾는다 (/season 이 이미지 폴더 public/season 과 겹쳐 403)
location / {
add_header Cache-Control "no-cache";
add_header Cache-Control "no-store";
try_files $uri $uri.html /index.html;
}
}