nginx: add /zari reverse proxy with http2-safe buffering
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s

This commit is contained in:
happybell80 2026-02-11 01:20:22 +09:00
parent 9591257a97
commit 6943681eeb
2 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,7 @@ nginx-deploy/
### 메인 도메인 (ro-being.com)
- `https://ro-being.com/` → 고객용 프론트엔드 (정적 파일)
- `https://ro-being.com/zari` → Zari Next.js 서비스 (127.0.0.1:3010 프록시)
- `https://ro-being.com/api/` → 관리자 API 서버 (8000 포트)
- `https://ro-being.com/admin` → 관리자 대시보드 (8000 포트)
- `https://ro-being.com/rb10508/` → 로빙 #10508 테스트 서버 (10508 포트)

View File

@ -262,6 +262,20 @@ server {
index index.html;
}
# Zari frontend (Next.js on localhost:3010)
location /zari {
proxy_pass http://127.0.0.1:3010;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
proxy_buffering off;
proxy_request_buffering off;
proxy_max_temp_file_size 0;
}
# Main application static files
location / {
try_files $uri $uri/ /index.html;