Link to home
Start Free TrialLog in
Avatar of Barry Fields
Barry FieldsFlag for United States of America

asked on

Reverse Proxy configuration

I need a good configuration document for a reverse proxy server in Ubuntu 16.04 LTS
Avatar of arnold
arnold
Flag of United States of America image

Squid-cache.org has examples.
https://wiki.squid-cache.org/ConfigExamples
Avatar of Barry Fields

ASKER

I was looking at an Apache reverse proxy
Hi,
Hope the following document will help you to configure HTTP reverse proxy using Apache.

https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
Apache has a similar example, though the context under which you want it to operate is somewhat more elaborate.

Squid to function as a guard against exposing a web server behind it ..


It deals with
Proxypass
Reverseproxypass
The two deal with converting the references ......
Here is apache's reference. https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html

If you want Apache reverse proxy to terminate the SSL connection as well...
OK, are you saying squid is a better option?   i have have a test position that requires that 2 different URLs be redirected to two separate back end servers. Squid over Apache?
What are your needs?
Squid can furnish.
On the squid side, it receives the request, based in the requesting URL it can forward the request.

Apache can use http://www.yourdomain.com/subsite1
             Http://www.yourdomain.com/subsite2 if configured will query the specified web servers and then reprocess the response to maintain referencing.

The link I posted and the one Prabhin provided can be used as a guide.


Squid separates the web server//s behind it from Apache can be combined to do several things.
Serve up the site, pull certain sata from a tomcat server using workers, proxy other site section, data from another web server/s transparent to the users accessing the site.

No URL changes.
Based on what you stated, if I understand it, Squid seems to be more straight forward. It just has to process 2 URLs and direct them to the proper backend server
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes the simple description is what I am trying to accomplish
Look at the config example reference for squid.
It includes multi-site......example.
You must be psychic I am doing exactly that as we speak