From 5f62729a85090486ebd00f4a4bf5e3f843cfdbd8 Mon Sep 17 00:00:00 2001 From: JIN Date: Fri, 22 Nov 2024 09:30:19 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20nginx=EC=97=90=20sse=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FE/nginx/nginx.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/FE/nginx/nginx.conf b/FE/nginx/nginx.conf index ea9d3b27..f3e9d418 100644 --- a/FE/nginx/nginx.conf +++ b/FE/nginx/nginx.conf @@ -9,4 +9,16 @@ server { index index.html index.htm; try_files $uri $uri/ /index.html; } + + location /api { + proxy_pass http://175.45.204.158:3000; + proxy_set_header Connection ''; + proxy_http_version 1.1; + chunked_transfer_encoding off; + proxy_buffering off; + proxy_cache off; + proxy_read_timeout 24h; + proxy_send_timeout 24h; + proxy_request_buffering off; + } } \ No newline at end of file