Download nginx.conf from Supertbot/hermes: direct link, hf CLI and curl.
- Browser
- Download file 700 Bytes
-
https://huggingface.co/spaces/Supertbot/hermes/resolve/main/nginx.conf
- Command line
-
hf download hf://spaces/Supertbot/hermes/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/Supertbot/hermes/resolve/main/nginx.conf
700 Bytes
| server { | |
| listen 7860; | |
| server_name _; | |
| access_log /dev/stdout; | |
| error_log /dev/stderr warn; | |
| location / { | |
| proxy_pass http://127.0.0.1:8787; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| 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 https; | |
| proxy_read_timeout 86400s; | |
| proxy_send_timeout 86400s; | |
| proxy_connect_timeout 75s; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| } | |
| } |