Reverse Proxy

Reverse Proxy and TLS OffloadingApplication layer · OSI 7

Terminating HTTPS at the edge before backend app servers

Step 1 of 6: Handshake TLS at the edge. DNS sends www.example.com to 203.0.113.10, the reverse proxy's address. The proxy holds the TLS certificate and runs the handshake , hiding the backend servers behind it.
0.0 s / 16.7 s
Your laptop192.168.1.10
EncryptedRequestResponse

Overview

A sits in front of website app servers to balance traffic, cache assets, and shield backends. Often it decrypts HTTPS at the edge so backend servers handle plain HTTP cleanly (TLS offloading).

Tools like nginx, HAProxy, and cloud load balancers accept client HTTPS on 203.0.113.10:443, terminate TLS, inject forwarding headers (Forwarded RFC 7239, X-Forwarded-For), and dispatch requests to private upstreams.

Key facts

Layer
Application (HTTP intermediary)
Client connects to
Edge proxy (port 443)
Certificate lives
On the reverse proxy
Backend protocol
Plain HTTP (or re-encrypted TLS)
Defined in
RFC 9110, RFC 7239

Decrypted at the edge, served inside

Visitors talked HTTPS to the reverse proxy, which decrypted requests once, forwarded plain HTTP across the private LAN with visitor headers, and re-encrypted replies on the way back.

TLS offloading at the edge proxy simplified certificate management and inspection while RFC 7239 forwarding preserved client IP and scheme.

TLS span
Laptop <-> reverse proxy
Internal link
Plain HTTP (port 8080)
Visitor IP header
Forwarded / X-Forwarded-For
Certificates
Managed at the edge

Try it yourself

Look for reverse proxy headers on responses

Response headers such as Server, Via, or X-Cache often show the edge proxy sitting in front of an app.

curl -I https://example.com