Cloud & DevOps

What is Reverse Proxy?

Quick answer

A server that sits in front of web servers and forwards client requests to them, adding security, caching, and load balancing.

Reverse Proxy, explained

When a visitor opens a website, their request may first reach a reverse proxy rather than the application server itself. The proxy decides which back-end server should handle the request, passes it on, and returns the response. Common tools include Nginx, HAProxy, and many cloud and CDN services.

Reverse proxies are used to terminate HTTPS connections, cache frequently requested pages, compress responses, block malicious traffic, and spread load across several servers. For example, a news site might place a reverse proxy in front of its content management system so popular articles are served from cache during traffic spikes, protecting the slower application behind it. A forward proxy is the opposite arrangement, acting on behalf of users who reach out to the internet.

Related terms

Guides that mention Reverse Proxy