Caddy website screenshot

Caddy

Caddy is a modern, extensible, open-source web server and reverse proxy written in Go that provides automatic HTTPS via Let's Encrypt, a dynamic JSON-based admin API, a human-friendly Caddyfile configuration format, and a modular architecture with a rich ecosystem of plugins for authentication, observability, and custom behavior.

2 APIs 0 Features
Automatic HTTPSGoLoad BalancerReverse ProxyTLSWeb Server

APIs

Caddy Web Server

Caddy is an open-source HTTP/2 and HTTP/3 web server and reverse proxy that obtains TLS certificates automatically via Let's Encrypt and ZeroSSL. Configured via a native JSON co...

Caddy Admin API

Caddy exposes a RESTful administration API on localhost:2019 by default for dynamically loading and modifying server configuration at runtime without restarts. Endpoints support...

Collections

Pricing Plans

Caddy Plans Pricing

3 plans

PLANS

Rate Limits

Caddy Rate Limits

5 limits

RATE LIMITS

FinOps

Caddy Finops

FINOPS

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrganization
GitHubOrganization
🔗
Community Forum
Community Forum
🔗
Download
Download
🔗
Sponsors
Sponsors

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Caddy Admin API
  version: '1.0'
items:
- info:
    name: Lifecycle
    type: folder
  items:
  - info:
      name: Set or replace the active configuration
      type: http
    http:
      method: POST
      url: http://localhost:2019/load
      body:
        type: json
        data: '{}'
    docs: Set or replace the active configuration
  - info:
      name: Gracefully shut down the server
      type: http
    http:
      method: POST
      url: http://localhost:2019/stop
    docs: Gracefully shut down the server
- info:
    name: Configuration
    type: folder
  items:
  - info:
      name: Export current configuration at a named path
      type: http
    http:
      method: GET
      url: http://localhost:2019/config/:path
      params:
      - name: path
        value: ''
        type: path
        description: Configuration path traversal expression.
    docs: Export current configuration at a named path
  - info:
      name: Create or append to configuration at a named path
      type: http
    http:
      method: POST
      url: http://localhost:2019/config/:path
      params:
      - name: path
        value: ''
        type: path
        description: Configuration path traversal expression.
      body:
        type: json
        data: '{}'
    docs: Create or append to configuration at a named path
  - info:
      name: Create new objects or insert into arrays at a named path
      type: http
    http:
      method: PUT
      url: http://localhost:2019/config/:path
      params:
      - name: path
        value: ''
        type: path
        description: Configuration path traversal expression.
      body:
        type: json
        data: '{}'
    docs: Create new objects or insert into arrays at a named path
  - info:
      name: Replace existing configuration values at a named path
      type: http
    http:
      method: PATCH
      url: http://localhost:2019/config/:path
      params:
      - name: path
        value: ''
        type: path
        description: Configuration path traversal expression.
      body:
        type: json
        data: '{}'
    docs: Replace existing configuration values at a named path
  - info:
      name: Remove configuration at a named path
      type: http
    http:
      method: DELETE
      url: http://localhost:2019/config/:path
      params:
      - name: path
        value: ''
        type: path
        description: Configuration path traversal expression.
    docs: Remove configuration at a named path
- info:
    name: Adapt
    type: folder
  items:
  - info:
      name: Convert a Caddyfile or other config format to JSON without loading
      type: http
    http:
      method: POST
      url: http://localhost:2019/adapt
    docs: Convert a Caddyfile or other config format to JSON without loading
- info:
    name: PKI
    type: folder
  items:
  - info:
      name: Returns PKI CA information
      type: http
    http:
      method: GET
      url: http://localhost:2019/pki/ca/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Returns PKI CA information
  - info:
      name: Returns the CA certificate chain
      type: http
    http:
      method: GET
      url: http://localhost:2019/pki/ca/:id/certificates
      params:
      - name: id
        value: ''
        type: path
    docs: Returns the CA certificate chain
- info:
    name: Reverse Proxy
    type: folder
  items:
  - info:
      name: Show reverse proxy upstream status
      type: http
    http:
      method: GET
      url: http://localhost:2019/reverse_proxy/upstreams
    docs: Show reverse proxy upstream status
bundled: true