So, I finally got the chance to find out how to get rid of the annoying Jenkins message “It appears that your reverse proxy set up is broken”, in my particular configuration.
My configuration is as follows:
- Jenkins 2.2
- Apache 2.4 (SSL enabled)
The minimal working configuration I found is as follows:
<VirtualHost *:443>
ServerName "subdomain.domain.com"
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
AllowEncodedSlashes NoDecode
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
RewriteEngine on
</VirtualHost>
