fix: API 프록시 포트를 8000으로 수정

- /api/ 경로를 localhost:18000 → localhost:8000으로 변경
- frontend 백엔드 실제 포트에 맞춰 nginx 설정 수정
- README.md 프록시 라우팅 정보 업데이트

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
happybell80 2025-07-09 19:54:46 +09:00
parent 2bdf37ca7e
commit 0f18ab56d1
2 changed files with 2 additions and 2 deletions

View File

@ -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 설정

View File

@ -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;