`== true` is redundant and can be removed. Doesn't this still have redirectPort to the Tomcat HTTPS port below here in the else?