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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: depgraph-view-plugin
    • Environment:
      Running Jenkins behind Apache. depgraph-view 0.2

      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.)

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

              Created:
              Updated:
              Resolved: