No headers filter for a subrequest

Yichun Zhang (agentzh) agentzh at gmail.com
Mon Mar 16 20:55:21 UTC 2015


Hello!

On Mon, Mar 16, 2015 at 5:14 AM, Marat Dakota wrote:
> I was digging the reason why add_header in nginx config doesn't work for a
> subrequest and I've found this in ngx_http_headers_filter_module.c:
>

Try using my ngx_headers_more module for adding and overriding
subrequests' response headers:

    https://github.com/openresty/headers-more-nginx-module#readme

We've been doing this sort of things for years :)

Regards,
-agentzh



More information about the nginx-devel mailing list