embedded tomcat 7 behind iis 7.5 proxy ssl problems
Posted
by
user1058410
on Server Fault
See other posts from Server Fault
or by user1058410
Published on 2012-03-27T23:02:54Z
Indexed on
2012/03/27
23:32 UTC
Read the original article
Hit count: 244
I'm using embedded tomcat 7 behind a iis 7.5 proxy server, with requests being forwarded to tomcat with arr. Everything works fine unless iis is set to require ssl. Then things like links that are generated dynamically in .jsp files on tomcat don't work right. For example if a link is supposed to point to _https://somewhere.com:443 it will be wrote as _http://somewhere.com:8080 (8080 is the port tomcat is running on). The problem seems to come from when tomcat looks at itself to build out the url it sees correctly that it is running on _http://somewhere.com:8080, but i need it to think otherwise. Does anybody know how to accomplish this without using ssl between iis and tomcat? Sorry for the underscores in front of the imaginary urls.
© Server Fault or respective owner