Reverse Proxy
Reverse Proxy and TLS OffloadingApplication layer · OSI 7Terminating HTTPS at the edge before backend app servers
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
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