openskills.info
Caddy Fundamentals logoCourse Preview

Caddy Fundamentals

Caddy is a modern web server written in Go that automatically provisions and renews TLS certificates via ACME. It serves static files, reverse-proxies to backends, and handles HTTPS by default with minimal configuration.

itWeb servers, proxies, and traffic management

Caddy Fundamentals

Caddy is a web server and reverse proxy with automatic HTTPS. You give it a site address and request-handling rules. It listens for traffic, secures qualifying sites, and either returns a response or forwards the request to another service.

Use this mental model: Caddy is a programmable front door. The site address chooses the door. Matchers classify each request. Directives decide what happens next. Automatic HTTPS secures the public path to that door when the domain and network are ready.

Why Caddy exists

A web-facing application needs more than application code. Something must accept connections, negotiate TLS, serve static assets, route requests, and keep configuration changes safe. Caddy combines those edge responsibilities in one extensible server.

Caddy is especially useful when you want:

  • automatic certificate provisioning, renewal, and HTTP-to-HTTPS redirects;
  • a readable Caddyfile for hand-managed configuration;
  • native JSON and an HTTP administration API for automation;
  • static file serving;
  • reverse proxying to one or more application servers;
  • configuration reloads without planned downtime.

Caddy is not your application runtime or database. It usually sits in front of those systems. It handles the connection and routing layer while your application handles business behavior.

The request path

A common deployment looks like this:

client → DNS → Caddy → application service
                  ↘ static files

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources

  • https://caddyserver.com/docs/
  • https://caddyserver.com/docs/getting-started
  • https://caddyserver.com/docs/caddyfile
  • https://caddyserver.com/docs/caddyfile/concepts
  • https://caddyserver.com/docs/caddyfile/directives
  • https://caddyserver.com/docs/automatic-https
  • https://caddyserver.com/docs/quick-starts/static-files
  • https://caddyserver.com/docs/caddyfile/directives/file_server
  • https://caddyserver.com/docs/quick-starts/reverse-proxy
  • https://caddyserver.com/docs/caddyfile/directives/reverse_proxy
  • https://caddyserver.com/docs/config-adapters
  • https://caddyserver.com/docs/api
  • https://caddyserver.com/docs/command-line
  • https://caddyserver.com/docs/running
  • https://caddyserver.com/docs/architecture