All checks were successful
Client CI/CD / deploy (push) Successful in 9s
- 저장 실패 시 에러 메시지 표시 - nginx index.html Cache-Control: no-store 설정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
525 B
Nginx Configuration File
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;
|
|
} |