Caddy

Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and route self-hosted…

  • Network Services
  • Other
  • Tools & Utilities
Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and route self-hosted services.

Platform availability

Available on 5 of 10 platforms

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

91/100 Excellent

Maintained
98last commit 54 days ago
Popular
9876,148 GitHub stars
Easy to install
755 install platforms, install notes, Docker image
Light to run
85512 MB minimum RAM

Availability: platform listings confirmed today, links checked 3 days ago

GitHub stars
76,148
Open issues
297
Last commit
2026-09-28
Latest release
v2.11.4
License
Apache-2.0
Activity
steady

Checked 54 days ago - source: GitHub (caddyserver/caddy)

Resources & Compatibility

Minimum requirements: 512 MB RAM.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Start Caddy with the Docker socket mounted Run the Caddy proxy container with -p 443:443 and mount /var/run/docker.sock into it. The Docker socket is how Caddy finds your other containers, and port 443 is where HTTPS traffic arrives. source
  • Label services with domain and upstream Add labels like caddy=example.com and caddy.reverse_proxy={{upstreams}} to each container you want Caddy to serve. Without these labels, Caddy does not know which website to use or which backend container to send traffic to. source
  • Start the stack with Docker Compose Use docker compose up -d to start Caddy and your services together in the background. Keeping them in one Compose stack makes them easier to start, stop, and restart as a set. source

Fetched 53 days ago - each note links to its source

Alternatives (7)

  • Apache HTTP Server - Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
  • BunkerWeb - BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
  • Microsoft IIS - Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
  • Træfik Proxy - The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
  • lighttpd - Lighttpd is a secure, lightweight web server that uses memory and CPU more efficiently than comparable servers, with FastCGI, CGI, authenti…
  • nginx - Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
  • tsdproxy - TSDProxy is a Tailscale proxy for Docker containers that automatically creates Tailscale machines for labeled containers, providing automat…

Checked 54 days ago - source: AlternativeTo

Common questions

How should I map ports for the hotio/caddy Docker image?

Use -p 80:8080 and -p 443:8443, and set WEBUI_PORTS to 8080/tcp,8443/tcp.

How can Caddy reach another container when used as a Docker reverse proxy?

Put Caddy and the service on the same Docker network so Caddy can address the container directly.

How does caddy-docker-proxy know which container to serve for a domain?

Add labels like caddy=example.com and caddy.reverse_proxy={{upstreams}} to each container. Without these labels, Caddy does not know which website to use or which backend container to send traffic to.

What port binding permission do I need when building Caddy from source?

Caddy may try to bind to low ports unless otherwise specified in the config. On systems that require elevated privileges, you need to give the binary permission to bind those ports.

Can multiple Caddy instances coordinate certificate management?

Yes, Caddy can coordinate certificate management across a cluster when using shared storage.

Answers sourced from github.com, github.com, hotio.dev, www.reddit.com, www.reddit.com

Community

Collected 47 days ago - public community threads