Why use Nginx as a reverse proxy? It may not be directly obvious why you might need a reverse proxy, but Nginx is a great option for serving your web apps- take, for example, a NodeJS app. By default, it runs locally on a machine and listens on a custom-defined port. Apache reverse proxy with RPC over HTTPS - 20.Nov.2004 8:49:00 PM Solitude99. Posts: 21 Joined: 20.Nov.2004 From: Toronto Status: offline: Hello, I have an single. The problem with IIS/Apache is that the proxy request actually sets up a separate HTTPS session between Apache and IIS using the Apache server certificate as the basis for the SSL tunnel. Apache/Tomcat is a special case with the AJP connector, because the AJP connector is specifically written to allow forwarding of the client SSL information. There is no point in implementing a reverse proxy to servers that do not work themselves, it just adds an additional layer to debug. The aim is to have Apache httpd serving SSL on only port 8443 on acting as a reverse proxy to. No other ports will be served by Apache httpd.
In addition to being a 'basic' web server, and providing static and dynamic content to end-users, Apache httpd (as well as most other web servers) can also act as a reverse proxy server, also-known-as a 'gateway' server.
In such scenarios, httpd itself does not generate or host the data, but rather the content is obtained by one or several backend servers, which normally have no direct connection to the external network. As httpd receives a request from a client, the request itself is proxied to one of these backend servers, which then handles the request, generates the content and then sends this content back to httpd, which then generates the actual HTTP response back to the client.
There are numerous reasons for such an implementation, but generally the typical rationales are due to security, high-availability, load-balancing and centralized authentication/authorization. It is critical in these implementations that the layout, design and architecture of the backend infrastructure (those servers which actually handle the requests) are insulated and protected from the outside; as far as the client is concerned, the reverse proxy server is the sole source of all content.


Httpd Reverse Proxy

Apache Reverse Proxy Setup
A typical implementation is below:
