Spaces:
Sleeping
Sleeping
Download backend/deploy/nginx.conf from jinksQspider/FaceMarkPro2: direct link, hf CLI and curl.
- Browser
- Download file 549 Bytes
-
https://huggingface.co/spaces/jinksQspider/FaceMarkPro2/resolve/main/backend/deploy/nginx.conf
- Command line
-
hf download hf://spaces/jinksQspider/FaceMarkPro2/backend/deploy/nginx.conf
-
curl -L -o nginx.conf https://huggingface.co/spaces/jinksQspider/FaceMarkPro2/resolve/main/backend/deploy/nginx.conf
549 Bytes
| server { | |
| listen 80; | |
| server_name YOUR_DOMAIN_OR_IP; | |
| client_max_body_size 50M; | |
| location /static/ { | |
| alias /opt/faceapp/app/static/; | |
| access_log off; | |
| expires 30d; | |
| } | |
| location / { | |
| 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; | |
| proxy_read_timeout 180; | |
| proxy_connect_timeout 180; | |
| proxy_pass http://127.0.0.1:8000; | |
| } | |
| } | |