Creating a Reverse Proxy Server

A proxy server is a computer (either virtual or physical) that sits in between two computers communicating with each other, as the following figure shows.

Figure 10. A proxy server forwards traffic between two endpoints.

There are many reasons for using a proxy, depending on the application. A proxy that forwards requests unmodified is called a gateway or a tunnel, and it may serve to hide one endpoint from the other. In other scenarios it may filter or throttle requests. The following figure illustrates the kind of proxy we’ll use, a reverse proxy.

Figure 11. A reverse proxy forwards incoming requests to an endpoint. ...

Get Remote Pairing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.