Skip to content

[feature request] add support for host header rewrite #135

@awx-fuyuanchu

Description

@awx-fuyuanchu

Traffic flow:

client  --> proxy.local.example.com[prom-label-proxy] ---> central.example.com[upstream]

We are using an ingress hostname as the upstream of a prom-label-proxy. The ingress relies on the host header to route the traffic.

But currently, the proxy doesn't rewrite the host header. As a result, prom-label-proxy will send requests to the upstream with the host header proxy.local.example.com and it'll always get a 404 error since the ingress couldn't find a proper route for this hostname.

So we are here to request a feature flag that could rewrite the host header while proxy requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions