Skip to content

Commit acaba0a

Browse files
committed
fix: SSE 연결을 위한 nginx 설정 변경
1 parent ecaf670 commit acaba0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

backend/nginx/conf.d/default.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ server {
1111
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
1212

1313
add_header X-Service-Version $service_version always;
14+
15+
# SSE(Server-Sent Events) 지원을 위한 설정
16+
proxy_http_version 1.1;
17+
proxy_set_header Connection "";
18+
proxy_buffering off;
19+
proxy_cache off;
20+
chunked_transfer_encoding on;
1421
}
1522
}
1623

0 commit comments

Comments
 (0)