Loading...
 

ClearOS Apache Reverser Proxy

Easily config Apache as a HTTP proxy for other local server on your network. Sometimes old web apps that have been in use a long time dont run well on ClearOS, and you might have some other server that hosts it, a proxy could come in handy.

Quote from referenced link:


Reverse Proxy Guide

''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.

A typical implementation is below:''

Reverse Proxy Arch

https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html