What problem does it solve?
This skill installs and manages a HTTPS-only Caddy reverse proxy on public hosts, assembles per-service routing blocks into a single Caddyfile, and performs zero-downtime reloads.
Core Features & Use Cases
- Install Caddy from the official repository and enable unattended upgrades to keep the proxy up to date.
- Assemble /etc/caddy/Caddyfile from a global block plus per-service snippets found under services/<name>/caddy.conf.
- Validate the final configuration with caddy validate and reload safely, failing deployments on invalid snippets.
- Enforce TLS certificates via TLS-ALPN-01 on port 443 and ensure port 80 is never exposed.
- Audit and verify the service with review.sh to confirm the Caddy unit is active, port 80 is closed, and certificates remain valid.
Quick Start
Install Caddy on the public host and run the assemble.sh workflow to generate and reload the Caddyfile from per-service snippets.