Caddy Server
Caddy is an open-source web server and reverse proxy written in Go, notable for automatically obtaining and renewing HTTPS certificates by default.
Definition
Caddy is an open-source web server and reverse proxy written in Go, notable for automatically obtaining and renewing HTTPS certificates by default.
Overview
Caddy, created by Matt Holt, was designed around the idea that secure-by-default should be the norm rather than an extra configuration step. When Caddy serves a site with a real domain name, it automatically requests and renews TLS certificates from Let's Encrypt (or another configured certificate authority) with zero manual setup, in contrast to servers like Nginx or HAProxy where HTTPS traditionally requires separate certificate management tooling. Configuration is done through the Caddyfile, a simple, human-readable format, or through a JSON API for programmatic and dynamic configuration changes without restarting the server. Caddy also functions as a reverse proxy and load balancer, making it usable as an edge layer in front of application servers or containers, and it supports HTTP/2 and HTTP/3 out of the box. Because Caddy is a single static binary with sensible defaults, it is popular for small to mid-sized deployments, personal projects, and internal tools where teams want automatic HTTPS without operating a separate certificate-management pipeline, though larger organizations often still choose Nginx or HAProxy for very high-traffic or highly specialized routing needs. It is often mentioned alongside Reverse Proxy Hosting in this space.
Key Features
- Automatic HTTPS with zero-configuration certificate issuance and renewal
- Simple, human-readable Caddyfile configuration format
- Native HTTP/2 and HTTP/3 support
- Built-in reverse proxy and load-balancing capabilities
- JSON-based admin API for dynamic, no-restart configuration changes
- Single self-contained binary with minimal external dependencies
Use Cases
Frequently Asked Questions
From the Blog
JavaScript for Beginners: The Ultimate 2026 Guide
JavaScript makes web pages interactive — master the core language that runs on every browser and server.
Read More Learn Through HobbiesLearn Node.js Through Building a Music API
Node.js is JavaScript on the server, and building a REST API for your music collection is the perfect first project. This guide covers Express routes, middleware, JSON responses, and deploying to a free hosting service — all by building an API for a music playlist.
Read More Cloud & CybersecurityTerraform Basics: Infrastructure as Code on AWS
Terraform lets you define cloud infrastructure in code, version it in Git, and deploy it repeatably. This guide covers providers, resources, variables, outputs, state management, and real AWS examples — from a simple S3 bucket to a complete web server setup.
Read More