Tomcat: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(Created page with " == Terminating SSL at the webserver or load balancer == If you want the tomcat let know that he is behind another Instance that terminates the SSL and tomcat should put https...") |
m (Text replacement - "</source" to "</syntaxhighlight") |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
If you want the tomcat let know that he is behind another Instance that terminates the SSL and tomcat should put https:// in the links, just add <i>scheme="https"</i> and <i>proxyPort="443"</i> to the non SSL Connector definition like this: | If you want the tomcat let know that he is behind another Instance that terminates the SSL and tomcat should put https:// in the links, just add <i>scheme="https"</i> and <i>proxyPort="443"</i> to the non SSL Connector definition like this: | ||
< | <syntaxhighlight> | ||
<Connector port="8080" protocol="HTTP/1.1" | <Connector port="8080" protocol="HTTP/1.1" | ||
server="Apache" | server="Apache" | ||
Line 10: | Line 10: | ||
proxyPort="443" | proxyPort="443" | ||
/> | /> | ||
</ | </syntaxhighlight> |
Latest revision as of 05:13, 26 November 2021
Terminating SSL at the webserver or load balancer
If you want the tomcat let know that he is behind another Instance that terminates the SSL and tomcat should put https:// in the links, just add scheme="https" and proxyPort="443" to the non SSL Connector definition like this:
<Connector port="8080" protocol="HTTP/1.1"
server="Apache"
connectionTimeout="20000"
scheme="https"
proxyPort="443"
/>