-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: core, scm-api-plugin
-
Environment:Jenkins 2.60.2
Bitbucket Branch Source Plugin 2.2.2
Firefox 54.0.10
Hi,
The project icon is not displayed behind a reverse proxy :

But everything is fine if i go directly to the Jetty server :

The URL used by the image behind the reverse proxy is :
https://myreverseproxy.com:80/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
But :80 must not be there :
https://myreverseproxy.com/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
For info, my reverse proxy is an Apache 2.4 with SSL enabled and Jenkins is behind a Jetty 9.4 without SSL. Here is the config on my reverse proxy for Apache :
ProxyPass /jenkins http://myjetty.com:8080/jenkins
ProxyPassReverse /jenkins http://myjetty.com:8080/jenkins
<Location /jenkins>
Order allow,deny
Allow from all
</Location>