Kolam Ayer MakersLinux Foundations

Reverse Proxy

Core Idea

A reverse proxy receives a public request and forwards it to another server or process behind it.

In this course, Caddy is the reverse proxy for the user service URL. Your user-managed service is the backend.

static URL:  https://lf2607.kolamayermakers.org/~username/
service URL: https://username.lf2607.kolamayermakers.org/

Request Path

browser or curl -> Caddy -> your service port -> response back through Caddy

The static URL can be served as files from ~/public_html/. The service URL needs your backend process to be listening on your assigned local port.

Failure Model

Proof Check

Use curl -v on the service URL before the service exists, then explain which part is public proxy and which part is missing backend.

Docs Pointers