Skip to content

Commit e92026c

Browse files
committed
hotfix : nginx 설정 파일에 header 전달 관련 추가
1 parent e0d2878 commit e92026c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎nginx/default.conf‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ server {
2828
ssl_protocols TLSv1.2 TLSv1.3;
2929
ssl_ciphers HIGH:!aNULL:!MD5;
3030

31+
location /ws-chat {
32+
proxy_pass http://tinybite-api-blue:8080;
33+
proxy_http_version 1.1;
34+
proxy_set_header Upgrade $http_upgrade;
35+
proxy_set_header Connection "Upgrade";
36+
proxy_set_header Host $host;
37+
proxy_set_header X-Real-IP $remote_addr;
38+
}
39+
3140
location / {
3241
client_max_body_size 10m;
3342
proxy_pass http://tinybite-api-blue:8080;

0 commit comments

Comments
 (0)