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" <lu...@slcoding.com <mailto:lu...@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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to