Download nginx.conf from altool/vscode: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/altool/vscode/resolve/main/nginx.conf
- Command line
-
hf download hf://spaces/altool/vscode/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/altool/vscode/resolve/main/nginx.conf
385 Bytes
| server { | |
| listen 7860; | |
| location /sse { | |
| proxy_pass http://localhost:3000/sse; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_set_header Host $host; | |
| proxy_cache off; | |
| proxy_buffering off; | |
| chunked_transfer_encoding on; | |
| proxy_read_timeout 86400s; # Prevents timeout during long browsing sessions | |
| } | |
| } |