Multiple host in request

Francis Daly francis at daoine.org
Thu Jan 2 10:27:16 UTC 2020


On Tue, Dec 31, 2019 at 06:24:18AM -0500, hmahajan21 wrote:

Hi there,

> Yes my question is why ngnix override the header and append double host in
> host header

Thanks.

What is the nginx config that is used?

Your test request will be handled in one server{} block, and eventually
in one location{} block, that presumably uses "proxy_pass". There may
also be "proxy_set_header" directives, possibly from an "include",
and possibly inherited into this location{}.

The config may show where the unwanted part is being introduced.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list