Caddy overview
Caddy is an integrated proxy alternative to Traefik. Coolify runs lucaslorentz/caddy-docker-proxy, generates Caddy labels for resource domains, and stores Caddy configuration and certificate data on the selected server.
Caddy is supported, but Traefik is the default and the proxy used by the Coolify core team in production. As a result, Traefik has broader documentation and support coverage. Choose Caddy if you are familiar with it or need a Caddy-specific feature.
What Coolify manages
For a server using Caddy, Coolify:
- runs the proxy as the
coolify-proxycontainer - listens on ports
80and443, including HTTP/3 on UDP port443 - generates Caddy Docker labels for application and service domains
- stores the main configuration at
/data/coolify/proxy/caddy/docker-compose.yml - stores dynamic Caddy snippets under
/data/coolify/proxy/caddy/dynamic/ - reloads Caddy after dynamic configuration changes made in the dashboard
The proxy imports *.caddy files from its dynamic directory. Coolify-generated files such as Caddyfile, coolify.caddy, and the default request handler are shown as read-only in the dashboard.
Switching proxies replaces the proxy type and default configuration. Recreate custom routing in Caddy syntax and redeploy resources so their Caddy labels are applied.
