Welcome! Log In Create A New Profile

Advanced

is it possible to use multiple sub_filter in one location?

Florin Andrei
May 20, 2015 04:58PM
Trying to do this:

location /whatever/ {
proxy_buffering off;
proxy_pass http://11.22.33.44:5555;
sub_filter '"df":"https://df-foo"' '"df":"https://df-bar"';
sub_filter '"pr":"https://pr-foo"' '"pr":"https://pr-bar"';
sub_filter_once off;
sub_filter_types *;
}

But I'm getting this:

nginx: [emerg] "sub_filter" directive is duplicate in ...

How do I replace multiple things in one location?

Thanks.

--
Florin Andrei
http://florin.myip.org/

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

is it possible to use multiple sub_filter in one location?

Florin Andrei May 20, 2015 04:58PM

Re: is it possible to use multiple sub_filter in one location?

Florin Andrei May 20, 2015 09:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
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