Open Source Web Gateways

← Back to Home

Caddy

Caddy is a powerful, enterprise-ready, open-source web server with automatic HTTPS written in Go. It's designed to be easy to use while providing advanced features for modern web applications.

Key Features

Automatic HTTPS

Automatic SSL/TLS certificate provisioning and renewal via Let's Encrypt.

HTTP/2 & HTTP/3

Built-in support for modern HTTP protocols including HTTP/2 and HTTP/3 (QUIC).

Simple Configuration

Human-friendly Caddyfile syntax and JSON API for configuration.

Extensible

Plugin system for extending functionality with custom modules.

Use Cases

  • Web Server: Serving static sites and dynamic applications
  • Reverse Proxy: Proxying requests to backend services
  • API Gateway: Managing API routes and authentication
  • Development: Local development with automatic HTTPS
  • Load Balancing: Distributing traffic across multiple backends

Configuration Example

Simple Caddyfile configuration:

example.com {
    reverse_proxy localhost:8080
    encode gzip
    log {
        output file /var/log/caddy/access.log
    }
}

Advantages

  • Automatic HTTPS by default
  • Simple and intuitive configuration
  • Written in Go for performance and reliability
  • Modern protocol support
  • Active development and strong community

Official Resources