add_header isn't taking effect

Francis Daly francis at daoine.org
Sat Aug 18 23:04:16 UTC 2012


On Sat, Aug 18, 2012 at 03:44:05PM -0700, Michael Shadle wrote:

Hi there,

> This block basically works like a charm, passes the upstream headers
> from proxy_pass_header as expected, but the add_header doesn't seem to
> work no matter what. add_header is what I use upstream to add the
> headers like X-Hostname-Proxy.

It seems to work for me. Perhaps my test case is not the same as your
test case.

What request do you make; what response do you get; and what response
do you expect to get?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list