Caddy

Open source

An extensible web server written in Go that speaks HTTP/1.1, 2 and 3 and obtains and renews TLS certificates automatically.

Open-source alternative to

caddyserver.com
Caddy homepage screenshot
GitHub stars
79k
Last 30 days
+1.2k(+2%)
Last commit
yesterday
Repository age
11 years
Version
v2.11.9
Licence
Apache-2.0
Self-hosted
Yes

About Caddy

Caddy is a server platform built to be extended, with TLS enabled by default. It is a web server and reverse proxy written in Go, released under the Apache-2.0 license, and it obtains HTTPS certificates through ZeroSSL and Let's Encrypt, so sites are served over HTTPS without manual certificate work. It runs on macOS, Linux and Windows.

Configuration is flexible: an easy Caddyfile for common cases, a native JSON config for fine control, a JSON API for dynamic changes, and config adapters for other formats. Caddy can manage a local certificate authority for internal names and IP addresses, coordinate with other instances in a cluster, fall back between multiple certificate issuers, and it supports Encrypted ClientHello. All three HTTP versions, 1.1, 2 and 3, work by default.

A modular architecture allows features to be added as plugins, and the binary has no external dependencies, not even libc. Installation can be as simple as downloading the executable from GitHub Releases and placing it on your PATH. It suits developers, small teams and operators who want a reverse proxy or static file server with sensible HTTPS defaults.

Key features

  • Automatic HTTPS with Let's Encrypt and ZeroSSL
  • Caddyfile and native JSON configuration
  • Dynamic configuration through a JSON API
  • Local certificate authority for internal names
  • Supports HTTP versions 1.1, 2 and 3
  • Modular architecture with plugins
  • Single binary with no external dependencies

Good fit for

  • Reverse proxy with automatic TLS
  • Static site and app hosting
  • Internal HTTPS for homelab services
Built with
Go tools
Tags
web-server
reverse-proxy
https
tls
golang
http3
self-hosted
acme

Caddy: questions and answers

What is Caddy used for?
Caddy is an extensible web server written in Go that speaks HTTP/1.1, 2 and 3 and obtains and renews TLS certificates automatically. It is a good fit for reverse proxy with automatic TLS, static site and app hosting, and internal HTTPS for homelab services.
Is Caddy open source?
Yes. Caddy is open source under the Apache-2.0 licence. Its source code is on GitHub at caddyserver/caddy and is written mainly in Go.
Is Caddy free?
Yes. Caddy is open source, so the software itself is free to use.
Can I self-host Caddy?
Yes. Caddy can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is Caddy an alternative to?
Caddy is an open-source alternative to Akamai, Ploi, RunCloud and Gcore. Other open-source alternatives to Akamai include Traefik, NGINX and HAProxy.
Is Caddy actively maintained?
Yes. The most recent commit to Caddy was on 11 November 2026, and the latest release is v2.11.9, published on 5 November 2026. The project has 79k stars on GitHub, with 1.2k added in the last 30 days.

Open-source alternatives to Caddy

See all

SaaS alternatives to Caddy

See all