On Sun, Nov 15, 2015 at 06:39:42AM -0500, [email protected] wrote:

Hi there,

> I'm using Nginx 1.8 and trying to add a sub_filter but It fails to work (I
> don't see the substitution happenning).

The usual suspects here are "gzip" and "content type".

Your "proxy_set_header Accept-Encoding "";" should avoid the response
from upstream being compressed. Can you see that that is the case?

What do the upstream response headers say the Content-Type is? Is that
listed in your effective sub_filter_types directive?

http://nginx.org/r/sub_filter_types

        f
-- 
Francis Daly        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to