proxy_pass_header not working in 1.6.0

Lucas Rolff lucas at slcoding.com
Tue Jul 1 07:19:56 UTC 2014


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

Best regards,
Lucas Rolff

Jonathan Matthews wrote:
>
> On 1 Jul 2014 07:58, "Lucas Rolff" <lucas at slcoding.com 
> <mailto:lucas at slcoding.com>> wrote:
> >
> > Hi guys,
> >
> > I'm currently running nginx version 1.6.0 (after upgrading from 1.4.4).
> >
> > Sadly I've found out, after upgrading proxy_pass_header seems to 
> stop working, meaning no headers is passed from the upstream at all
>
> You need to read the proxy_pass_header and proxy_hide_header reference 
> documentation. You're using it wrongly, possibly because you've 
> assumed it takes generic parameters instead of very specific ones.
>
> _______________________________________________
> 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/e086cdec/attachment.html>


More information about the nginx mailing list