Spaces:
Paused
Paused
Download nginx.conf from leeykike/toolbaz2api: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/leeykike/toolbaz2api/resolve/main/nginx.conf
- Command line
-
hf download hf://spaces/leeykike/toolbaz2api/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/leeykike/toolbaz2api/resolve/main/nginx.conf
457 Bytes
| worker_processes auto; | |
| events { worker_connections 1024; } | |
| http { | |
| upstream backend { server app:8080; } | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| location / { | |
| proxy_pass http://backend; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_buffering off; | |
| proxy_cache off; | |
| proxy_read_timeout 300s; | |
| } | |
| } | |
| } |