Skip to content

I want to modify the proxy_set_header X-Forwarded-Proto directive in a specific ingress configuration, changing it from $pass_access_scheme to http. Specifically #13402

Open
@dxygit1

Description

@dxygit1

I want to modify the proxy_set_header X-Forwarded-Proto directive in a specific ingress configuration, changing it from $pass_access_scheme to http. Specifically:

Original:
proxy_set_header X-Forwarded-Proto $pass_access_scheme;

Modified:
proxy_set_header X-Forwarded-Proto http;

This adjustment will hardcode the protocol value to http instead of dynamically inheriting it from the client request scheme.

But I haven't found a corresponding method to do this. Is this modification actually supported?

(Alternatively, if you want a more formal phrasing:
However, I couldn't locate the appropriate way to make this change. Is this configuration adjustable?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-kindIndicates a PR lacks a `kind/foo` label and requires one.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions