Caddy
Web server with automatic HTTPS, HTTP/3, and a JSON config API
Replaces Nginx Plus, Traefik Enterprise, Haproxy Enterprise

Who it's for
Put a Caddyfile in front of an app and get HTTPS with a reverse proxy in a few lines, with certificates handled for you.
You need a vendor-backed support contract and enterprise management features included in a commercial subscription.
Operators serving large numbers of domains can rely on automatic certificate management, including coordination between Caddy instances in a cluster.
Your estate is already standardized on another proxy with deep custom configuration you cannot afford to translate.
Teams can use the managed local CA to give internal names and IP addresses TLS without buying certificates.
Your internal clients cannot be set up to trust a local CA.
The problem
Serving a site over HTTPS usually means requesting certificates, wiring them into server config, and remembering to renew them. When a renewal fails, visitors see browser warnings and the site is effectively offline. Teams that want commercial-grade proxying often reach for paid tools such as NGINX Plus, Traefik Enterprise, or HAProxy Enterprise, which adds licence cost on top of the configuration work. Caddy removes the certificate chore by making TLS the default behaviour, and it ships under Apache-2.0 with no paid tier required to use it.
How it works
Caddy obtains and renews certificates from ZeroSSL and Let's Encrypt for public names, and runs a fully managed local CA for internal names and IPs. It supports multi-issuer fallback and Encrypted ClientHello (ECH).
All three protocol versions are supported by default, so you do not need extra flags or modules to serve modern clients.
Write a short Caddyfile, use the native JSON config, or push changes live through the JSON API. Config adapters can convert other formats, including YAML, TOML, and NGINX config, into JSON.
The modular architecture lets Caddy add capabilities as plugins. The xcaddy builder tool compiles a custom binary with the plugins you choose.
Caddy instances can coordinate with each other in a cluster, and the project reports that Caddy scales to hundreds of thousands of sites in production.
Caddy runs anywhere with no external dependencies, not even libc, and is written in Go, which has higher memory safety guarantees than the languages many other servers use.
Features
- Automatic HTTPS
- HTTP/1.1, HTTP/2, and HTTP/3
- Flexible configuration
- Modular and extensible
- Cluster-aware certificate management
- Single binary, no dependencies
How to install
Install Caddy by downloading a release binary, or build it from source with Go for local development.
git clone "https://github.com/caddyserver/caddy.git"
cd caddy/cmd/caddy/
go buildRecommended for this setup
Strengths
- No certificate babysitting: HTTPS is on by default and certificates renew on their own. Caddy also keeps serving when other servers would fail on TLS, OCSP, or certificate-related issues.
- Easy to deploy: One executable with no external dependencies means installation is a download and a config file, whether on a VPS or in a container.
- Production-proven: The project says Caddy has served trillions of requests and managed millions of TLS certificates, with hundreds of contributors behind it.
- Permissive licence: Apache-2.0 allows commercial use, modification, and redistribution without paying for a licence.
Trade-offs
- Custom plugins need a rebuild: Adding third-party modules means building your own binary with xcaddy or go build, which requires Go 1.26.0 or newer. Stock releases do not include every plugin.
- Config model takes learning: Nearly all configuration lives in one config document rather than scattered flags. The README recommends that every user, whatever their experience, work through the Getting Started guide first.
- Support is community or paid by you: Free help comes from the community forum. The README advises companies to buy a support contract through Ardan Labs before they need help, and the issue tracker is reserved for bugs and feature requests.
- Open issue backlog: The repository lists 281 open issues, so check the tracker for a bug or feature you depend on before committing to a deployment.
Tech stack
FAQ
Yes. Caddy is licensed under Apache-2.0, which permits commercial use, modification, and redistribution. Note that the name Caddy is a registered trademark of Stack Holdings GmbH, so check the README's naming guidance if you plan to redistribute it.
It uses ZeroSSL and Let's Encrypt for public names and a fully managed local CA for internal names and IPs. It also supports multi-issuer fallback, so a second issuer can be used if the first fails.
It is listed as an alternative to NGINX Plus, Traefik Enterprise, and HAProxy Enterprise. It covers the web server and reverse proxy role with automatic TLS, but you should check that the specific features you use are available before migrating.
Caddy's config adapters can convert several formats into its native JSON, and NGINX config is among the formats listed in the README. Review the converted output before relying on it.
Download the executable from GitHub Releases and place it in your PATH, or follow the install instructions in the online documentation. You can also build from source with Go 1.26.0 or newer.