Free course

Caddy Course

Learn to serve websites and proxy applications with Caddy, automatic HTTPS, safe routing, health checks, logs, metrics, and recovery practices.

5 modules · 25 lessons · No signup

Prerequisites: Shell Commands, Linux Basics, HTTP, DNS and TLS and Certificates

~~~

Your progress

of lessons completed.

Course completed.

What you'll learn

Configure, secure, and operate a Caddy server that serves files, proxies applications, manages HTTPS, reloads safely, and recovers predictably.

Take this course offline

Subscribe to my newsletter to get every free book and course in PDF and EPUB format.

Get the downloads

Course contents

  1. Caddy foundations

    Install Caddy, run disposable servers, write a Caddyfile, and validate the effective configuration.

    1. Install and inspect Caddy
    2. Run disposable servers
    3. Write your first Caddyfile
    4. Format, adapt, and validate
    5. Check your understanding: caddy foundations
  2. Serve and route requests

    Serve static files, match requests, control path handling, and add deliberate response behavior.

    1. Serve a static site
    2. Match and handle requests
    3. Strip a path prefix
    4. Shape the response
    5. Check your understanding: serve and route requests
  3. Automatic HTTPS

    Use local and public HTTPS, understand certificate requirements, and protect advanced certificate automation.

    1. Activate automatic HTTPS
    2. Use local HTTPS
    3. Prepare public certificate issuance
    4. Choose advanced certificate automation
    5. Check your understanding: automatic https
  4. Proxy applications

    Proxy applications, preserve trustworthy client identity, secure upstream TLS, and handle backend failure.

    1. Proxy a local application
    2. Preserve client identity safely
    3. Secure an HTTPS upstream
    4. Balance and check upstreams
    5. Check your understanding: proxy applications
  5. Operate Caddy

    Run Caddy as a service, reload safely, use logs and metrics, protect the API, and preserve recovery data.

    1. Run Caddy as a service
    2. Reload without downtime
    3. Observe requests and runtime
    4. Protect configuration and recovery state
    5. Check your understanding: operate caddy