A reverse proxy can only cache, route by path and filter requests if it can read them, so ending TLS at the proxy is what makes its other jobs possible.
Learn the idea first
A browser asks shop.example for the product data at /api/products/42. The only public address belongs to the reverse proxy; the app servers sit on a private network a fraction of a millisecond away. Timings are an illustrative model.
Browser
your device
Reverse proxy
shop.example's front door
App server
10.0.1.11, private
API server
10.0.2.21, private
Swipe the diagram sideways to see every column →
Where the time goes
227 ms total
A browser asks shop.example for the product data at /api/products/42. The only public address belongs to the reverse proxy; the app servers sit on a private network a fraction of a millisecond away. Timings are an illustrative model.
Illustrative timings. Real numbers vary with distance, network quality and server load.