LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-29-2013, 04:39 AM   #1
Orangutanklaus
Member
 
Registered: May 2006
Posts: 93

Rep: Reputation: 15
Reverse Proxy - Frontend - Tomcat (Suggestions?)


Hiho,

I'm currently testing a solution where an Apache webserver terminates SSL requests, forwards them to another Apache webserver which acts as a frontend for a Tomcat.

What's the goal?

Each customer has his own tomcat environment. They must request their service via
PHP Code:
https://fix.public.domain/customerX 
The reverse proxy terminates the request and sends plain http requests to the frontend Apache which must follow the form
PHP Code:
http://customerX.internal.domain 
The rest is handled by ajp. Well, it works but my current configuration has 2 disatvantages (maybe more but these annoying me )

First I have to edit the configuration file on the reverse proxy each time I add a new environment/customer (...and I have to do it twice because I also must add the new one on the second Apache for the ajp connection). What I like is a kind of catch all customerX, Y, Z... requests and forward them to the frontend Apache where the correct decision is made. One solution could be a rewrite rule but is it really necessary or is there a smarter way?

Another disatvantage is that I have to add each internal domain to the internal DNS server so that the reverse proxy can resolve
PHP Code:
http://customerX, Y, Z.internal.domain 
Well, this could be solved due a catch all entry (*.internal.domain) when no other entry matches but maybe there's another way.

Any suggestions or maybe other solutions?
OK

PS: reverse proxy and frontend should be based on Apache webserver. ngnix or other solutions are unscheduled at the moment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Proxy Volcano Linux - Newbie 4 05-03-2012 01:02 PM
new gpg encryption/signing frontend -- looking for name suggestions ryran Linux - General 13 01-27-2012 02:09 PM
reverse proxy & tomcat goldwing Linux - Server 5 10-08-2010 03:15 PM
Squid as Reverse Proxy and LAN proxy? zivota Linux - Security 2 02-26-2007 05:00 PM
reverse proxy? bwall Linux - Newbie 1 11-22-2005 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration