Skip to content

Global UpstreamHeaderTransform settings in GlobalConfiguration section #1658

@marklonquist

Description

@marklonquist

New Feature

Add UpstreamHeaderTransform globally for all routes.

Motivation for New Feature

Currently we have to set the same transforms on all routes, leaving a lot of copy paste work.

"UpstreamHeaderTransform": {
    "X-Forwarded-For": "{RemoteIpAddress}",
    "X-Forwarded-Host": "{BaseUrl}",
    "X-Forwarded-Proto": "https"
}

A solution would be to also set global transforms in GlobalConfiguration

Related to

Feature: Headers Transformation

Metadata

Metadata

Assignees

Labels

Headers TransformOcelot feature: Headers TransformationSpring'25Spring 2025 releaseacceptedBug or feature would be accepted as a PR or is being worked onfeatureA new feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions