From 0f18ab56d1cf02c3f9070ad2493259b3a1844c9c Mon Sep 17 00:00:00 2001 From: happybell80 Date: Wed, 9 Jul 2025 19:54:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20API=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=ED=8F=AC=ED=8A=B8=EB=A5=BC=208000=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /api/ 경로를 localhost:18000 → localhost:8000으로 변경 - frontend 백엔드 실제 포트에 맞춰 nginx 설정 수정 - README.md 프록시 라우팅 정보 업데이트 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 2 +- server-nginx-default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 643a8e3..8cd5259 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ NAS_SSH_KEY_ADMIN: SSH 개인키 ## 프록시 라우팅 - `https://ro-being.com/` → 192.168.219.45:5173 (메인 프론트엔드) -- `https://ro-being.com/api/` → 192.168.219.45:18000 (frontend/backend) +- `https://ro-being.com/api/` → 192.168.219.45:8000 (frontend/backend) - `https://ro-being.com/rb8001/` → 192.168.219.45:8001 (api_base) ## SSL 설정 diff --git a/server-nginx-default b/server-nginx-default index 58f7ef3..5819c09 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -130,7 +130,7 @@ server { # API endpoints location /api/ { - proxy_pass http://localhost:18000; + proxy_pass http://localhost:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;