proxy_pass_header not working in 1.6.0

Lucas Rolff lucas at slcoding.com
Tue Jul 1 07:33:57 UTC 2014


Do you have a link to a documentation that has info about this then? 
Because in the below link, and in 
http://wiki.nginx.org/HttpProxyModule#proxy_pass_header theres nothing 
about what it accepts.

Best regards,
Lucas Rolff

Jonathan Matthews wrote:
>
> On 1 Jul 2014 10:20, "Lucas Rolff" <lucas at slcoding.com 
> <mailto: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.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140701/1afc3d68/attachment-0001.html>


More information about the nginx mailing list