Files
a301_client/nginx.conf
tolelom 2163d0f311
All checks were successful
Client CI/CD / deploy (push) Successful in 9s
fix: 관리자 다운로드 폼 에러 피드백 추가 및 nginx HTML 캐싱 방지
- 저장 실패 시 에러 메시지 표시
- nginx index.html Cache-Control: no-store 설정

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 22:34:45 +09:00

20 lines
525 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# index.html은 캐싱 금지 (배포 후 즉시 반영)
location = /index.html {
try_files $uri =404;
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
# SPA fallback (react-router 사용 시 필요)
location / {
try_files $uri $uri/ /index.html;
}
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_min_length 1024;
}