feat: goosefarm index.html 캐시 방지 헤더 추가
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s
- HTTP/HTTPS 블록 모두 location = /goosefarm/index.html 추가 - Cache-Control: no-store, no-cache, must-revalidate - Vite 해시 파일명 변경 시 배포 후 즉시 반영
This commit is contained in:
parent
0e5698c3b4
commit
9591257a97
@ -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/;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user