Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4450

[desktop] Fix HTTPS termination using X-Forwarded-Proto header

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: core.api
    • Labels:
      None

      Description

      When Hue is behind a load balancer that is terminating HTTPS it needs to rely on a special header (sent by the load balancer itself) to send proper urls.

      The fix is using the header X-Forwarded-Proto (see https://docs.djangoproject.com/en/1.9/ref/settings/#secure-proxy-ssl-header ) instead of a custom one (X-Forwarded-Protocol).

        Attachments

          Activity

            People

            • Assignee:
              poeppt Thomas Poepping
              Reporter:
              poeppt Thomas Poepping
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: