gradle-tomcat-plugin icon indicating copy to clipboard operation
gradle-tomcat-plugin copied to clipboard

Set redirectPort in SSL Connector

Open peter-backlund-sg opened this issue 10 years ago • 1 comments

Our web.xml protects all resources (/*) with transport-guarantee CONFIDENTIAL, and turning on SSL in the plugin works as expected. However, the redirectPort attribute seems to be set to 80, regardless of the value of the httpsPort attribute. My request is that this attribute is set to the value of httpsPort, probably in "BaseTomcat7xPlusImpl.configureHttpsConnector" (?).

Thank you.

peter-backlund-sg avatar Oct 20 '14 07:10 peter-backlund-sg

The redirect port should probably become a configurable property. Would you be interested in providing a pull request for this?

bmuschko avatar Oct 21 '14 12:10 bmuschko

Closing as issue got no traction.

bmuschko avatar Sep 24 '23 02:09 bmuschko