GlossaryNetworkingIntermediate

Reverse Proxy

A reverse proxy sits in front of one or more servers and forwards client requests to them, handling load balancing, caching, TLS termination and security on the servers' behalf.

Last updated May 28, 2026

Definition

A reverse proxy is a server that sits in front of backend servers and forwards incoming client requests to them. To the client it looks like the origin; to the backend it represents the client. It is the mirror image of a forward proxy, which represents clients to the wider internet.

What reverse proxies do

  • Load balancing across multiple backend servers.
  • TLS termination — decrypting HTTPS so backends do not have to.
  • Caching and compression to speed up responses.
  • Security — hiding backend IPs and filtering malicious traffic.

Popular reverse proxies include Nginx, HAProxy and Cloudflare.

Examples

1

Nginx routing traffic to several app servers behind one domain

2

Cloudflare acting as a reverse proxy to cache and protect a website

Common Use Cases

Load balancing across servers
TLS termination and caching
Hiding and protecting backend infrastructure
Acting as an API gateway

Frequently Asked Questions

A forward proxy acts on behalf of clients reaching the internet; a reverse proxy acts on behalf of servers, receiving client requests and routing them to backends.
Yes — a CDN is a globally distributed reverse proxy that caches and serves content close to users.