Spaces:
Sleeping
Sleeping
Download apps.conf from leeykike/browserflow: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/leeykike/browserflow/resolve/main/apps.conf
- Command line
-
hf download hf://spaces/leeykike/browserflow/apps.conf
-
curl -L -o apps.conf https://huggingface.co/spaces/leeykike/browserflow/resolve/main/apps.conf
1.05 kB
| upstream webServer { | |
| server 0.0.0.0:8000; | |
| } | |
| map $http_upgrade $connection_upgrade { | |
| default keep-alive; | |
| 'websocket' upgrade; | |
| } | |
| server { | |
| listen 5700; | |
| listen [::]:5700; | |
| ssl_session_timeout 5m; | |
| location / { | |
| proxy_pass http://webServer/; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Host $http_host; | |
| proxy_set_header X-NginX-Proxy true; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_buffering off; | |
| proxy_redirect default; | |
| proxy_connect_timeout 1800; | |
| proxy_send_timeout 1800; | |
| proxy_read_timeout 1800; | |
| } | |
| gzip on; | |
| gzip_static on; | |
| gzip_types text/plain application/json application/javascript application/x-javascript text/css application/xml text/javascript; | |
| gzip_proxied any; | |
| gzip_vary on; | |
| gzip_comp_level 6; | |
| gzip_buffers 16 8k; | |
| gzip_http_version 1.0; | |
| location ~ .*\.(html)$ { | |
| add_header Cache-Control no-cache; | |
| } | |
| } |