Download nginx.conf from jimlv/ssh: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/jimlv/ssh/resolve/main/nginx.conf
- Command line
-
hf download hf://spaces/jimlv/ssh/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/jimlv/ssh/resolve/main/nginx.conf
468 Bytes
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| upstream easynode { | |
| server 127.0.0.1:8082; | |
| } | |
| server { | |
| listen 7860; | |
| location / { | |
| proxy_pass http://easynode; | |
| 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; | |
| } | |
| } | |
| } |