| server { | |
| listen 7860; | |
| location / { | |
| proxy_pass http://127.0.0.1:8090; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_set_header Host $host; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| } | |
| location /ch/ { | |
| proxy_pass http://127.0.0.1:8091/; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_set_header Host $host; | |
| proxy_buffering off; | |
| } | |
| location /stream { | |
| proxy_pass http://127.0.0.1:8090/stream; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| proxy_read_timeout 86400s; | |
| } | |
| location /ch/stream { | |
| proxy_pass http://127.0.0.1:8091/stream; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| proxy_read_timeout 86400s; | |
| } | |
| } | |