Skip to content

Commit

Permalink
use original host header for proxy request
Browse files Browse the repository at this point in the history
  • Loading branch information
ivann14 committed Feb 15, 2024
1 parent adcdab1 commit b07a3bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions proxy/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
{
Path = "/{**catch-all}"
},

}.WithTransformCopyRequestHeaders(copy: true);

}
.WithTransformCopyRequestHeaders(copy: true)
.WithTransformUseOriginalHostHeader(useOriginal: true);


var clusterConfig = new ClusterConfig
Expand Down

0 comments on commit b07a3bc

Please sign in to comment.