Skip to content

selfhost(docker): Caddy HTTPS terminator with auto-TLS #1203

Description

@JSONbored

Part of #980. Part of #1199.

Add a Caddy reverse proxy service to the compose stack so operators get HTTPS + HTTP/3 + auto-renewing Let's Encrypt certificates without any manual cert management.

Scope:

  • caddy:2-alpine in the caddy compose profile (ports 80/443 TCP + 443 UDP for QUIC)
  • caddy/Caddyfile{$DOMAIN} site block with reverse_proxy gittensory:8787
  • Security headers: HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy
  • Zstd + gzip compression
  • DOMAIN env var in .env.example; Terraform firewall already opens 80/443/443udp

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions