Wrong redirects when behind reverse proxy

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • Component/s: core
    • Environment:
      debian wheezy, nginx 1.8.0

      I've setup jenkins behind a reverse proxy with nginx. ALMOST everything works.
      Here is a list of what doesn't, though that may be incomplete

      1. accessing "manage plugins" (see attached jenkins.redirects.txt). Although the url is correct (http://jenkins:9090/pluginManager) browser receives a 302 to http://jenkins/pluginManager. If then I manually change the url to http://jenkins:9090/pluginManager, I can access Manage Plugins
      2. the same thing happens with Credentials, Configure Global Security and when saving a job configuration. In particular, the configuration is saved but the browser is wrongly redirected

      Find attached my nginx configuration, which should be ok

        1. jenkins.redirects.txt
          2 kB
          Federico Fissore
        2. jenkins.conf
          0.5 kB
          Federico Fissore

            Assignee:
            Unassigned
            Reporter:
            Federico Fissore
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: