I don't believe that this is available built-in and your only choice would
be to stick a web server in front or similar.

Having said that I'm interested in why, if you are always forcing people to
https, would you not just turn http off?

Richard.

On Tuesday, April 30, 2013, Adrian Fita wrote:

> 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({},
> 'cvml', 'jenkinsci-users%[email protected]');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to