reverse proxy

A server that receives requests on behalf of other servers and forwards them, returning their responses as if they were its own.

In more detail

A good proxy is boring: it forwards method, headers, status and body deliberately, sets timeouts, never blindly retries non-idempotent requests, and records the upstream result. Caches, load balancers and gateways are all kinds of proxy.

Examples

It can terminate TLS, add headers, cache responses and balance load across origins, and it hides the origins from clients. nginx and HAProxy are common ones. Inspect both the client-to-proxy and proxy-to-origin legs when something fails.
mode=rev listen=443 origin=app tls=proxy has the proxy listening on 443 and terminating TLS.

Related terms

Taught in

References