Caddy, Wildcard Certs and Ghost

The Problem Hosting multiple applications on subdomains requires a strategy for SSL certificates. The specific example involves deploying Ghost blogging software to blog.geoffcorey.com while redirecting the root domain to this subdomain. The setup uses wildcard Let’s Encrypt certificates to avoid generating separate certificates for each subdomain. Cloudflare API Token DNS configuration requires Cloudflare. The CaddyBuilds/caddy-cloudflare Docker image provides DNS challenge support for obtaining wildcard certificates. Setup: Docker Compose & Caddy Configuration docker-compose.yml The configuration includes three services: ...

May 23, 2025 · Geoff Corey