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

[core] Add http_x_forwarded_proto for x-forwarded-proto support

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.11.0
    • Component/s: core.api
    • Labels:
    • Environment:

      CDH 5.4.10

      Description

      I've put an aws elb with https termination in front of hue.
      Navigating to https://hue.mydomain/ returns a redirect to http://hue.mydomain/accounts/login/
      Clearly it's picking up the domain correctly from the x-forwarded-for header, but it reverts to http, so it seems like it's ignoring the x-forwarded-proto header.

      Is this an oversight? Is this mode of operation supported?

      I expect I'll run into trouble with any urls that escape the elb i.e. if hue gives the user a link to something outside of hue.mydomain/

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              cmsd2 Chris Dawes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: