Muhammad Faraz Malik
feat(deploy): add Amazon CloudFront HTTPS distribution script and Caddy TLS reverse proxy
1efbab7 Download deploy/Caddyfile from MF180/autonomous-bug-fixing-agent: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/spaces/MF180/autonomous-bug-fixing-agent/resolve/main/deploy/Caddyfile
- Command line
-
hf download hf://spaces/MF180/autonomous-bug-fixing-agent/deploy/Caddyfile
-
curl -L -o Caddyfile https://huggingface.co/spaces/MF180/autonomous-bug-fixing-agent/resolve/main/deploy/Caddyfile
396 Bytes
| # Caddy Reverse Proxy for Automatic Let's Encrypt HTTPS | |
| # Defaults to nip.io wildcard DNS for the EC2 IP if DOMAIN_NAME is not set. | |
| {$DOMAIN_NAME:98.89.45.201.nip.io} { | |
| encode gzip | |
| reverse_proxy bugfix-agent:8501 { | |
| header_up Host {host} | |
| header_up X-Real-IP {remote_host} | |
| header_up X-Forwarded-For {remote_host} | |
| header_up X-Forwarded-Proto {scheme} | |
| } | |
| } | |