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

Graph link is incorrect under Reverse Proxy. (Dependency graph view)

    XMLWordPrintable

Details

    Description

      In case running Jenkins with reverse proxy, we can see graph images without any problem but the links to the job are not correct.
      It seems the link is not based on Jenkins URL (at main configuration) but on the request header from Apache to Jenkins.

      Exp.
      "myjob" [href="http://localhost:8080/job/myjob/"];

      I wonder it's better to use not getRootUrlFromRequest() but getRootUrl() in DotStringGenerator#getEscapedProjectUrl.

      I'm sorry this is because my setting of Jenkins.
      (I referred to Jenkins Wiki - Running+Jenkins+behind+Apache - and set it up.)

      Attachments

        Activity

          lars_nordin lars Nordin added a comment -

          I rate this as a bug and not an improvement

          lars_nordin lars Nordin added a comment - I rate this as a bug and not an improvement
          lars_nordin lars Nordin added a comment -

          I'm experiencing this issue on Jenkins v1.447.2, which has a built-in in reverse proxy check in the "manage Jenkins" page. I did reconfigure the Apache reverse proxy and got rid of this warning about incorrect proxy configuration.
          Is there another way to mitigate this issue via changing the proxy configuration?

          lars_nordin lars Nordin added a comment - I'm experiencing this issue on Jenkins v1.447.2, which has a built-in in reverse proxy check in the "manage Jenkins" page. I did reconfigure the Apache reverse proxy and got rid of this warning about incorrect proxy configuration. Is there another way to mitigate this issue via changing the proxy configuration?
          wolfs Stefan Wolf added a comment -

          Should be fixed in 0.5. Please test.

          wolfs Stefan Wolf added a comment - Should be fixed in 0.5. Please test.

          People

            wolfs Stefan Wolf
            akiko_pusu akiko_pusu
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: