Reverse Proxy configuration

I need a good configuration document for a reverse proxy server in Ubuntu 16.04 LTS
Barry-f4Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Squid-cache.org has examples.
https://wiki.squid-cache.org/ConfigExamples
0
Barry-f4Author Commented:
I was looking at an Apache reverse proxy
0
Prabhin MPEngineer-TechOPSCommented:
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
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

arnoldCommented:
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 ......
0
arnoldCommented:
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...
0
Barry-f4Author Commented:
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?
0
arnoldCommented:
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.
0
Barry-f4Author Commented:
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
0
arnoldCommented:
Yes, usually or commonly, squid is used to secure a single destination.

What is  the relationship
Internet <=> reverse proxy <=> web servers?

The simple
In a way you want http://www.mydomain.com requests to end on internalserver1 while requests for http://www.myotherdomain.com to end up on internalserver2.

There are times, where the application on the internal webservers responds dynamically, meaning the URLs in the response are based on the ip (internal) ip based on the origin of the request it sees.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Barry-f4Author Commented:
Yes the simple description is what I am trying to accomplish
0
arnoldCommented:
Look at the config example reference for squid.
It includes multi-site......example.
0
Barry-f4Author Commented:
You must be psychic I am doing exactly that as we speak
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.