It's all about the answers!

Ask a question

Configuring reverse-proxy/JTS with http and using https public uri

Emilio Salierno (112) | asked Oct 24 '13, 10:47 a.m.
edited Oct 25 '13, 2:16 p.m. by Michelle De Armas (2612)
I need to configure a reverse proxy that accepts SSL requests on port 443, but that forward the requests to JTS (Tomcat) in HTTP on port 9080.

I have done all the configuration changes required to enable HTTP:
  • Tomcat - enable the port 9080, disabling the redirect on 9443.
  • webapps - change "CONFIDENTIAL" with "NONE" in the web.xml files.
and of course configured the reverse proxy using the directive "ProxyPreserveHost On"

But the JTS setup (I think it's not related only to setup) doesn't work.
Using firebug I can see that in the JTS answer the hedear contains the string:

base href=""

where the public uri is "".

It seems that the webapps uses the same protocol of the requests to write the "base href" in the header response.

There is a way to configure the target architecture explained?

One answer

permanent link
Rosa Naranjo (2.9k11723) | answered Oct 25 '13, 1:51 p.m.
Take a look at this series in the Deployment wiki and see if they can shed some light for your scenario.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.