Free course
Reverse Proxies and Load Balancers Course
Use Caddy to route HTTP traffic, terminate TLS, balance multiple backends, test failure behavior, and document every trust boundary.
Prerequisites: Shell Commands, Networking Foundations, HTTP, Node.js and TLS and Certificates
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Run and operate a reverse proxy that routes requests, protects client identity, balances healthy backends, and fails predictably.
Course contents
Proxy foundations
Run two backends, put Caddy in front, and inspect the separate client and upstream exchanges.
Routing and rewrites
Route by path and host, change upstream paths deliberately, combine static files, and proxy WebSockets.
TLS and trust boundaries
Terminate local HTTPS, protect upstream TLS, and configure forwarded client identity safely.
Load balancing
Distribute requests, add health checks, bound retries, and understand stateful application behavior.
Operate the proxy
Read logs, set deadlines, reload safely, test failover, and document the complete traffic path.