| server { | |
| listen 7860; | |
| location / { | |
| proxy_pass http://127.0.0.1:3000; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection 'upgrade'; | |
| proxy_set_header Host $host; | |
| } | |
| location /api { | |
| proxy_pass http://127.0.0.1:8000; | |
| proxy_set_header Host $host; | |
| } | |
| location /health { | |
| proxy_pass http://127.0.0.1:8000/api/health; | |
| } | |
| } | |