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 written 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?