caddy-reverse-proxy

Installation
SKILL.md

Caddy Reverse Proxy

Caddy is a web server with automatic HTTPS. It obtains and renews certificates automatically, redirects HTTP to HTTPS, and provides a simple configuration syntax.

Quick Reference

Task Syntax
Basic proxy reverse_proxy backend:8080
Multiple upstreams reverse_proxy node1:80 node2:80
Path routing handle /api/* { reverse_proxy api:8080 }
Strip path prefix handle_path /api/* { reverse_proxy api:8080 }
Set request header header_up Host localhost
Remove response header header_down -Server
Wildcard cert tls { dns cloudflare {env.CF_API_TOKEN} }
Reload config caddy reload --config /etc/caddy/Caddyfile

Basic Patterns

Related skills
Installs
35
First Seen
Mar 1, 2026