jguru.fi
How to get Tomcat to see HTTPS when it's terminated elsewhere - JGuru
It’s very common to terminate HTTPS (TLS) at higher up in your server stack but you still need your webapp running in tomcat to generate the urls using https even though tomcat is called with http internally in your network. This seems to be a very common problem that I keep seeing year after year …