Spaces:
Sleeping
Sleeping
Download deploy/Caddyfile from govindbalki/oncodsl: direct link, hf CLI and curl.
- Browser
- Download file 503 Bytes
-
https://huggingface.co/spaces/govindbalki/oncodsl/resolve/main/deploy/Caddyfile
- Command line
-
hf download hf://spaces/govindbalki/oncodsl/deploy/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/govindbalki/oncodsl/resolve/main/deploy/Caddyfile
503 Bytes
| { | |
| admin off | |
| auto_https off | |
| } | |
| :7860 { | |
| # Password gate for the whole Lab. Set LAB_USER and LAB_PASSWORD_HASH | |
| # as environment variables / Fly secrets (see deploy/DEPLOY.md). | |
| basic_auth { | |
| {$LAB_USER} {$LAB_PASSWORD_HASH} | |
| } | |
| # Engine: /api/* is stripped to / and proxied to FastAPI. | |
| # reverse_proxy streams Server-Sent Events without extra config. | |
| handle_path /api/* { | |
| reverse_proxy 127.0.0.1:8000 | |
| } | |
| # Everything else is the Next.js front end. | |
| handle { | |
| reverse_proxy 127.0.0.1:3000 | |
| } | |
| } | |