Reverse Proxy

Definition

A server that sits in front of web servers, forwarding requests to them while providing load balancing, security, and improved performance.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between a reverse proxy and a forward proxy?
A reverse proxy sits in front of servers and represents the servers to clients (clients think they are talking to the website). A forward proxy sits in front of clients and represents the clients to servers (servers see the proxy as the client). Reverse proxies are used to protect and scale web apps; forward proxies are often used for outbound control, filtering, or privacy for users.
When should I use a reverse proxy?
Use a reverse proxy when you need one or more of these: (1) load balancing across multiple app servers, (2) TLS termination and certificate management in one place, (3) a Web Application Firewall (WAF) or request filtering, (4) path/host-based routing (for example, /api to one service and /app to another), (5) hiding private backend IPs and reducing direct exposure of origin servers, or (6) centralized logging, rate limiting, and authentication integration.
How much does a reverse proxy cost?
Cost depends on whether it is self-managed or managed. Self-managed (for example, Nginx/HAProxy) typically costs the compute resources (VMs/containers), bandwidth, and operations time. Managed reverse proxies (for example, AWS ALB, Azure Application Gateway, GCP Cloud Load Balancing, OCI Load Balancer) usually charge based on hours/provisioned capacity plus data processed and optional features like WAF. The biggest cost drivers are traffic volume, number of listeners/rules, TLS handshakes, and whether you run multiple instances for high availability.

Category: networking

Difficulty: advanced

Related Terms

See Also