diff --git a/infra/nginx/extractor.conf b/infra/nginx/extractor.conf index 64148ee..d1846a6 100644 --- a/infra/nginx/extractor.conf +++ b/infra/nginx/extractor.conf @@ -19,6 +19,10 @@ server { location / { proxy_pass http://piki_extractor; + # Host 를 명시하지 않으면 nginx 가 upstream 이름(piki_extractor)을 Host 로 넘기는데, + # Tomcat 은 언더스코어 도메인을 400 으로 거절한다 - 이행 배포에서 프론트 전체가 400 이 된 + # 실측 사고(2026-08-10). core conf 는 upstream 이름에 언더스코어가 없어 우연히 무사했던 함정. + proxy_set_header Host $host; # keepalive 재사용을 위해 1.1 + Connection 헤더 초기화 (요청마다 upstream 재연결 방지) proxy_http_version 1.1; proxy_set_header Connection "";