Member-only story

Why is Nginx called a “reverse” proxy?

Both forward proxies and reverse proxies act as intermediaries in network communications, but they serve different purposes. Let’s break them down.

🔹 What is a Forward Proxy?

A forward proxy (or just proxy server) is a server that sits between a client (such as a web browser) and the internet. It intercepts client requests, forwards them to the destination server, and then returns the response back to the client.

🔸 How a Forward Proxy Works:

  1. A user makes a request to access a website (e.g., example.com).
  2. The request is first sent to the forward proxy server.
  3. The forward proxy evaluates the request and decides whether to allow or block it.
  4. If allowed, the proxy forwards the request to example.com.
  5. example.com responds to the proxy, and the proxy then returns the response to the user.

🔹 Why Use a Forward Proxy?

A forward proxy is commonly used for:

1️⃣ Protecting Clients (Anonymity and Security)

  • Masks the client’s IP address, making it difficult for websites to track the user.

--

--

Sonika | @Walmart | Frontend Developer | 11 Years
Sonika | @Walmart | Frontend Developer | 11 Years

No responses yet