From 97321b8bef7f93bac6f890a6dae489a7775a40a2 Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Tue, 17 Nov 2026 15:42:29 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20nginx=20/api=20=ED=94=84=EB=A1=9D?= =?UTF-8?q?=EC=8B=9C=EB=A5=BC=20=EB=B0=B1=EC=97=94=EB=93=9C=20=ED=8F=AC?= =?UTF-8?q?=ED=8A=B8=2018080=EC=9C=BC=EB=A1=9C=20=EB=B3=B5=EA=B5=AC=20(808?= =?UTF-8?q?0=EC=9D=80=20=EB=A6=AC=EB=B2=84=EC=8A=A4=20=ED=94=84=EB=A1=9D?= =?UTF-8?q?=EC=8B=9C=EB=9D=BC=20=EB=A6=AC=EB=8B=A4=EC=9D=B4=EB=A0=89?= =?UTF-8?q?=ED=8A=B8=20=EB=A3=A8=ED=94=84=20=EB=B0=9C=EC=83=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3bdb156..386d862 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,9 +3,9 @@ server { root /usr/share/nginx/html; index index.html; - # 같은 도메인의 /api 요청을 NAS 백엔드(8080)로 전달 → 브라우저는 CORS 없이 호출 + # 같은 도메인의 /api 요청을 NAS 백엔드(18080)로 전달 → 브라우저는 CORS 없이 호출 location /api/ { - proxy_pass http://192.168.0.215:8080; + proxy_pass http://192.168.0.215:18080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;