Hi.
I'm using the Windows native package of Jenkins v1.512. I configured HTTPS as described at the end of this wiki page:
https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins (I configured --httpsPort, --httpsKeyStore and--httpsKeyStorePassword in jenkins.xml). HTTPS works fine, but I want to make sure that when users land on HTTP are forcefully redirected to HTTPS.
Currently, the users that arrive on HTTP stay on HTTP. I would like to avoid disabling HTTP support altogether (by configuring --httpPort=-1) or implementing a front proxy with some HTTP server (ex: Apache httpd, nginx, etc.), or to have a http server which listens on HTTP and redirects to HTTPS.
I studied the wiki, the mailinglists, the Winstone page (
http://winstone.sourceforge.net), but I couldn't find anything relevant. Any other suggestions?
Thanks.