| server { |
| listen 7860; |
|
|
| |
| location /monitor { |
| proxy_pass http://127.0.0.1:8000/monitor; |
| proxy_set_header Host $host; |
| } |
|
|
| location /health { |
| proxy_pass http://127.0.0.1:8000/health; |
| proxy_set_header Host $host; |
| } |
|
|
| |
| location /api/ { |
| proxy_pass http://127.0.0.1:8000/api/; |
| proxy_http_version 1.1; |
| proxy_set_header Host $host; |
| proxy_read_timeout 600; |
| proxy_send_timeout 600; |
| proxy_buffering off; |
| } |
|
|
| |
| location / { |
| proxy_pass http://127.0.0.1:8080/; |
| proxy_http_version 1.1; |
| proxy_set_header Upgrade $http_upgrade; |
| proxy_set_header Connection "upgrade"; |
| proxy_set_header Host $host; |
| proxy_read_timeout 86400; |
| proxy_send_timeout 86400; |
| } |
| } |
|
|