What Is a Reverse Proxy - and When You Actually Don't Need One
A reverse proxy is a server that sits in front of your application and accepts requests on its behalf. The client connects to the reverse proxy, the reverse proxy decides which backend should handle the request, forwards it, and relays the response back — so from the outside, your whole system looks like a single host. The name is backwards-sounding for a reason. A forward proxy acts on behalf of the client (your corporate network's outbound proxy, a VPN exit). A reverse proxy acts on behalf of the server , and the client usually has no idea it exists. It exists to solve one problem: the public-facing concerns of serving traffic — TLS, routing, retries, rate limits, caching, who gets which backend — are the same no matter what your application does, and you do not want to reimplement them inside every service. The reverse proxy is where you put them once. That consolidation is also the cost. You have added a hop that every single request passes through, and it can fail, misrou...