-
Bug
-
Resolution: Fixed
-
Major
(Sorry – I'm not sure what component this falls under)
I have a ssl proxy on another machine in front of jenkins. The ssl proxy listens on port 8080 and forwards to Jenkins on port 8080.
After I submit my login details to Jenkins on https://domain.com:8080/login, it redirects me to http://domain.com:8080. I'd like to stay on https. I've configured the Jenkins URL to be https://domain.com:8080, but it didn't seem to make a difference.
Two solutions?
1. Never change the protocol. If the redirect was to '/' instead of 'http://domain.com', there would be no problem.
2. The proxy adds a X-Forwarded-Proto to each request – could Jenkins look at that and realize it's a https request?
- is related to
-
JENKINS-23294 Interpret X-Forwarded-Port
-
- Resolved
-
[JENKINS-10675] Jenkins redirecting from https to http
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Labels | New: lts-candidate |
Labels | Original: lts-candidate | New: 1.532.1-fixed |
What SSL proxy are you running? If you have Apache try enabling ProxyPreserveHost.