Skip to content

feature: redirection of already terminated SSL traffic that misses a X-Forwarded-Proto or similar #190

Open
@pcfens

Description

@pcfens

We often times terminate SSL on a load balancer or ingress proxy instead of on services directly so that application admins don't have to worry with as many secrets (containers combined with service meshes are making this a more common thing too).

In those cases, the service can't tell whether or not it's using SSL using the port information, but only with headers like X-Forwarded-Proto or X-Forwarded-Port.

We'd like to force SSL only in our JupyterHub instance, but the --redirect-port flag won't work in this scenario. Any chance another hook could be added to trigger a redirect when a header/value combination doesn't match some specified value?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions