Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-25740

Ensure LTD Keeper uses http scheme in URLs

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • None

    Description

      Since an nginx-ingress update in LTD Keeper (https://github.com/lsst-sqre/roundtable/pull/81) LTD Keeper has started using http URLs in its API rather than https.

      The source of this issue is https://flask.palletsprojects.com/en/1.1.x/api/?highlight=url_for#flask.url_for

      A potential solution is either hardcoding the scheme for flask's url_for API or trying the werkzeug "ProxyFix" middleware. https://werkzeug.palletsprojects.com/en/1.0.x/middleware/proxy_fix/

      Attachments

        Activity

          Deployed as LTD Keeper 1.19.0. This release includes a configuration toggle to enable the ProxyFix middleware, as well as configuration options to specify the number of proxy servers to enable trust for specific headers, such as X-Forwarded-Proto and X-Forwarded-Host.

          jsick Jonathan Sick added a comment - Deployed as LTD Keeper 1.19.0. This release includes a configuration toggle to enable the ProxyFix middleware, as well as configuration options to specify the number of proxy servers to enable trust for specific headers, such as X-Forwarded-Proto and X-Forwarded-Host.

          People

            jsick Jonathan Sick
            jsick Jonathan Sick
            Jonathan Sick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.