Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download frontend/nginx.conf from larxius/SentinelScan-WSS: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/larxius/SentinelScan-WSS/resolve/main/frontend/nginx.conf
- Command line
-
hf download hf://spaces/larxius/SentinelScan-WSS/frontend/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/larxius/SentinelScan-WSS/resolve/main/frontend/nginx.conf
460 Bytes
| server { | |
| listen 80; | |
| server_name _; | |
| root /usr/share/nginx/html; | |
| index index.html; | |
| location / { | |
| try_files $uri $uri/ /index.html; | |
| } | |
| location /api/ { | |
| proxy_pass http://backend:5000; | |
| 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 $scheme; | |
| } | |
| } | |