Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45802

Project icon not displayed behind a reverse proxy

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, scm-api-plugin
    • None
    • 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>
      

          [JENKINS-45802] Project icon not displayed behind a reverse proxy

          Maxime KILT created issue -
          Maxime KILT made changes -
          Description Original: Hi,

          The project icon is not displayed behind a reverse proxy :

          !image-2017-07-26-11-42-14-073.png!

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

          !image-2017-07-26-11-42-57-818.png!

          The URL used by the image behind the reverse proxy is :

          {noformat}
          https://myreverseproxy.com:80/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}

          But {{:80}} must not be there :

          {noformat}
          https://myreverseproxy.com/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}

          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 :

          {noformat}
          ProxyPass /jenkins http://jenkins.sodi.pharmagest.com/jenkins
          ProxyPassReverse /jenkins http://jenkins.sodi.pharmagest.com/jenkins
          <Location /jenkins>
              Order allow,deny
              Allow from all
          </Location>
          {noformat}
          New: Hi,

          The project icon is not displayed behind a reverse proxy :

          !image-2017-07-26-11-42-14-073.png!

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

          !image-2017-07-26-11-42-57-818.png!

          The URL used by the image behind the reverse proxy is :
          {noformat}
          https://myreverseproxy.com:80/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          But {{:80}} must not be there :
          {noformat}
          https://myreverseproxy.com/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          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 :
          {noformat}
          ProxyPass /jenkins http://myjetty.com/jenkins
          ProxyPassReverse /jenkins http://myjetty.com/jenkins
          <Location /jenkins>
              Order allow,deny
              Allow from all
          </Location>
          {noformat}
          Maxime KILT made changes -
          Description Original: Hi,

          The project icon is not displayed behind a reverse proxy :

          !image-2017-07-26-11-42-14-073.png!

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

          !image-2017-07-26-11-42-57-818.png!

          The URL used by the image behind the reverse proxy is :
          {noformat}
          https://myreverseproxy.com:80/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          But {{:80}} must not be there :
          {noformat}
          https://myreverseproxy.com/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          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 :
          {noformat}
          ProxyPass /jenkins http://myjetty.com/jenkins
          ProxyPassReverse /jenkins http://myjetty.com/jenkins
          <Location /jenkins>
              Order allow,deny
              Allow from all
          </Location>
          {noformat}
          New: Hi,

          The project icon is not displayed behind a reverse proxy :

          !image-2017-07-26-11-42-14-073.png!

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

          !image-2017-07-26-11-42-57-818.png!

          The URL used by the image behind the reverse proxy is :
          {noformat}
          https://myreverseproxy.com:80/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          But {{:80}} must not be there :
          {noformat}
          https://myreverseproxy.com/jenkins/avatar-cache/36a6926eafd8be29f65892cf8ba6774f.png?size=32x32
          {noformat}
          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 :
          {noformat}
          ProxyPass /jenkins http://myjetty.com:8080/jenkins
          ProxyPassReverse /jenkins http://myjetty.com:8080/jenkins
          <Location /jenkins>
              Order allow,deny
              Allow from all
          </Location>
          {noformat}
          Nikolas Falco made changes -
          Assignee New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Component/s New: core [ 15593 ]
          Component/s New: scm-api-plugin [ 18054 ]
          Nikolas Falco made changes -
          Component/s Original: bitbucket-branch-source-plugin [ 21428 ]

            nfalco Nikolas Falco
            crazymax Maxime KILT
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: