proxy_pass_header not working in 1.6.0
Jonathan Matthews
contact at jpluscplusm.com
Tue Jul 1 07:28:37 UTC 2014
On 1 Jul 2014 10:20, "Lucas Rolff" <lucas at slcoding.com> wrote:
>
> Well, it used to work before 1.6.0..
>
> For me
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass_header
shows that I should do:
>
> proxy_pass_header Cache-Control;
>
> So that should be correct
No. You have misread the documentation.
proxy_pass_header accepts a very limited set of headers whereas your use of
it assumes it is generic.
Please carefully *re*read the _pass_ AND _hide_ documentation as I
suggested.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140701/48ceaf29/attachment.html>
More information about the nginx
mailing list