• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None
    • 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.conf
          0.5 kB
          Federico Fissore
        2. jenkins.redirects.txt
          2 kB
          Federico Fissore

          [JENKINS-31307] Wrong redirects when behind reverse proxy

          Daniel Beck added a comment -

          All of this is indicative of a broken reverse proxy configuration. Please ask for advice on the users mailing list after reviewing the nginx recommended configuration if this still occurs.

          Daniel Beck added a comment - All of this is indicative of a broken reverse proxy configuration. Please ask for advice on the users mailing list after reviewing the nginx recommended configuration if this still occurs.

            Unassigned Unassigned
            ffissore Federico Fissore
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: