From 9591257a97c90dccf7973dbae29bfa43b03f6cbc Mon Sep 17 00:00:00 2001 From: happybell80 Date: Wed, 21 Jan 2026 15:43:22 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20goosefarm=20index.html=20=EC=BA=90?= =?UTF-8?q?=EC=8B=9C=20=EB=B0=A9=EC=A7=80=20=ED=97=A4=EB=8D=94=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - HTTP/HTTPS 블록 모두 location = /goosefarm/index.html 추가 - Cache-Control: no-store, no-cache, must-revalidate - Vite 해시 파일명 변경 시 배포 후 즉시 반영 --- server-nginx-default | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server-nginx-default b/server-nginx-default index 9fabd0c..ada0bbb 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -83,6 +83,12 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + # GooseFarm index.html 캐시 방지 (Vite 해시 파일명 변경 시 즉시 반영) + location = /goosefarm/index.html { + alias /var/www/html/goosefarm/index.html; + add_header Cache-Control "no-store, no-cache, must-revalidate"; + } + # GooseFarm Frontend location /goosefarm { alias /var/www/html/goosefarm/; @@ -275,6 +281,12 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + # GooseFarm index.html 캐시 방지 (Vite 해시 파일명 변경 시 즉시 반영) + location = /goosefarm/index.html { + alias /var/www/html/goosefarm/index.html; + add_header Cache-Control "no-store, no-cache, must-revalidate"; + } + # GooseFarm Frontend location /goosefarm { alias /var/www/html/goosefarm/;