-
Hi,
but it doesn't work. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That example worked when I tested it by adding this in Program.Main: It combine with:
What does the rest of your config look like? Arrays in config can be tricky, I don't think it will work if you already have a transforms section for that route, they'll overlap. |
Beta Was this translation helpful? Give feedback.
That example worked when I tested it by adding this in Program.Main:
Environment.SetEnvironmentVariable("ReverseProxy__Routes__route1__Transforms__0__RequestHeaderOriginalHost", "true");
It combine with:
What does the rest of your config look like? Arrays in config can be tricky, I don't think it will work if you already have a transforms section for that route, they'll overlap.