Endpoint Designer I have an endpoint with two plugins enabled:
Modified Headers and
Modified Headers I have configured a new Request header to be added.
Header Name: Host
Header Value: abcd.domain.com
URL Rewrite I have a pattern to match and what to rewrite it to.
The issue I'm having is that Tyk is not setting the
Host header as part of the request and this is causing problems.
I have tried the request without going through Tyk and it works as expected but through Tyk it doesn't.
I tried setting
proxy.preserve_host_header to true - which works only if the client where the calls originates from sets the
Host header (which is not what I need)