Welcome! Log In Create A New Profile

Advanced

Re: sub_filter and proxy_pass

Francis Daly
November 15, 2015 07:32AM
On Sun, Nov 15, 2015 at 06:39:42AM -0500, yuval.carmel@capriza.com 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 francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

sub_filter and proxy_pass

yuval.carmel@capriza.com November 15, 2015 06:39AM

Re: sub_filter and proxy_pass

Francis Daly November 15, 2015 07:32AM

Re: sub_filter and proxy_pass

yuval.carmel@capriza.com November 15, 2015 07:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready