Download assets/nginx.example.conf from fukeke/rss: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/spaces/fukeke/rss/resolve/main/assets/nginx.example.conf
- Command line
-
hf download hf://spaces/fukeke/rss/assets/nginx.example.conf
-
curl -L -o nginx.example.conf https://huggingface.co/spaces/fukeke/rss/resolve/main/assets/nginx.example.conf
612 Bytes
| server { | |
| listen 80; | |
| server_name yourdomain; | |
| location / { | |
| proxy_pass http://127.0.0.1:4000; | |
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| proxy_set_header Host $http_host; | |
| proxy_set_header X-Forwarded-Proto $scheme; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Accept-Encoding gzip; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| send_timeout 300; | |
| proxy_connect_timeout 300; | |
| proxy_send_timeout 300; | |
| proxy_read_timeout 300; | |
| } | |
| } | |