From 97ffe547ae3b6b6100a2ef576d52bb9fbca43e8f Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Fri, 23 Oct 2026 16:18:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B4=EB=AF=B8=20=EC=97=B4=EC=97=88?= =?UTF-8?q?=EB=8D=98=20=ED=83=AD=EC=9D=84=20=EB=8B=A4=EC=8B=9C=20=EC=97=B4?= =?UTF-8?q?=EB=A9=B4=20'=EB=82=A0=EC=94=A8=20=EB=B6=88=EB=9F=AC=EC=98=A4?= =?UTF-8?q?=EB=8A=94=20=EC=A4=91'=EC=97=90=EC=84=9C=20=EB=A9=88=EC=B6=94?= =?UTF-8?q?=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=E2=80=94=20HTML=20=EC=9D=84?= =?UTF-8?q?=20no-store=20=EB=A1=9C,=20=EB=B9=8C=EB=93=9C=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EC=9D=84=20=EB=AA=BB=20=EB=B0=9B=EA=B1=B0=EB=82=98=20?= =?UTF-8?q?12=EC=B4=88=20=EB=84=98=EA=B2=8C=20=EC=B2=AB=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=EC=9D=B4=EB=A9=B4=20=ED=95=9C=20=EB=B2=88=20=EC=83=88?= =?UTF-8?q?=EB=A1=9C=20=EB=B6=88=EB=9F=AC=EC=98=A4=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 24 ++++++++++++++++++++++++ frontend/nginx.conf | 5 +++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 0dc6364..d9d64c4 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -10,6 +10,30 @@ gtag('config', 'G-D378J4X373'); + diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 8cc3b1d..9bc60b6 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -50,13 +50,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; } }