Download deploy/Caddyfile from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/deploy/Caddyfile
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/deploy/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/deploy/Caddyfile
551 Bytes
| # HTTPS in front of the application. FPT_TLS is either an e-mail address (public certificate from Let's Encrypt, the | |
| # domain must resolve to this host) or "internal" (a certificate from Caddy's own authority, for private networks). | |
| {$FPT_DOMAIN} { | |
| tls {$FPT_TLS} | |
| encode zstd gzip | |
| header { | |
| Strict-Transport-Security "max-age=31536000; includeSubDomains" | |
| -Server | |
| } | |
| # live run updates and the live test view are long-lived streams: do not buffer them | |
| reverse_proxy app:8800 { | |
| flush_interval -1 | |
| transport http { | |
| read_timeout 1h | |
| } | |
| } | |
| } | |