Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Preserve Host header as X-Forwarded-Host #10

Open
@ajbouh

Description

I'm trying to use Ambassador to authenticate requests based on the Host header of an incoming request.

The current header overwriting policy means that I lose this information.

It seems like copying the value of Host over to X-Forwarded-Host might be the right thing to do.

The other X-Forwarded headers, like X-Forwarded-For and X-Forwarded-Proto may also be worth setting, though they aren't part of my specific use case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions