Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2093

Avoid https -> http redirects on jenkins.io

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

        Attachments

          Activity

          Hide
          olblak Olivier Vernin added a comment -

          Zbynek Konecny this file is deprecated (I will remove it to avoid confusion), basically the flow is kubernetes Ingress > kubernetes service -> pod, so they are two files that influence https/https behaviors . the first one is an ingress ingress configuration and the second one is the nginx configuration for each pod that you can find here

          If you have some spare time, feel free to make the modification that you think would be the best

          Show
          olblak Olivier Vernin added a comment - Zbynek Konecny this file is deprecated (I will remove it to avoid confusion), basically the flow is kubernetes Ingress > kubernetes service -> pod, so they are two files that influence https/https behaviors . the first one is an ingress ingress configuration and the second one is the nginx configuration for each pod that you can find here If you have some spare time, feel free to make the modification that you think would be the best
          Hide
          zbynek Zbynek Konecny added a comment -

          btw. is this used in production? https://github.com/jenkins-infra/jenkins.io/blob/master/docker/default.conf – with that config server is listening at port 80 which suggests it's behind a proxy and maybe doesn't "know" the proxy's protocol.

          Show
          zbynek Zbynek Konecny added a comment - btw. is this used in production? https://github.com/jenkins-infra/jenkins.io/blob/master/docker/default.conf – with that config server is listening at port 80 which suggests it's behind a proxy and maybe doesn't "know" the proxy's protocol.
          Hide
          rtyler R. Tyler Croy added a comment -

          Okie, I'll take another whack at this during my next bit of infra time

          Show
          rtyler R. Tyler Croy added a comment - Okie, I'll take another whack at this during my next bit of infra time
          Hide
          zbynek Zbynek Konecny added a comment -

          If I check the URLs using *curl -I https://jenkins-ci.org/content/pipeline-code-multibranch-workflows-jenkins* etc, I can still see the same redirects. Also if you open Network tab in Chrome you can see all the requests.

          Show
          zbynek Zbynek Konecny added a comment - If I check the URLs using *curl -I https://jenkins-ci.org/content/pipeline-code-multibranch-workflows-jenkins* etc, I can still see the same redirects. Also if you open Network tab in Chrome you can see all the requests.
          Hide
          rtyler R. Tyler Croy added a comment -

          Interestingly I was not able to reproduce it, so I wonder if there was a transient failure somewhere in there

          Show
          rtyler R. Tyler Croy added a comment - Interestingly I was not able to reproduce it, so I wonder if there was a transient failure somewhere in there

            People

            Assignee:
            rtyler R. Tyler Croy
            Reporter:
            zbynek Zbynek Konecny
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: