On Tue, Aug 18, 2015 at 12:37 PM, Valentin V. Bartenev <vb...@nginx.com> wrote: > On Tuesday 18 August 2015 12:08:12 Jim Popovitch wrote: >> On Mon, Aug 17, 2015 at 10:44 AM, Dmitry Volyntsev <xei...@nginx.com> wrote: >> > details: http://hg.nginx.org/nginx/rev/b9447fc457b4 >> > branches: >> > changeset: 6228:b9447fc457b4 >> > user: Dmitry Volyntsev <xei...@nginx.com> >> > date: Mon Aug 17 17:42:02 2015 +0300 >> > description: >> > Sub filter: support of multiple strings to replace. >> > >> >> Hello, >> >> Can you please provide an example of use. >> >> Thank you! >> > > See an example in the module documentation: > http://nginx.org/en/docs/http/ngx_http_sub_module.html >
Thanks, I am aware of that. What is missing from the docs is the format for multiple sub_filter entries. Is it: a) sub_filter "matchA" "replaceA" "matchB" "replaceB"; b) sub_filter "matchA" "replaceA" sub_filter "matchB" "replaceB" c) sub_fitler "match1" "match2" "match3" "replaceAll" d) Only 1 sub_filter allowed per location or server And then there's the issue of sub_filter_last_modified and sub_filter_once applying to all, or just the preceding or the following entry? Multiple sub_filters is a great addition, docs are unclear on usage. :-) -Jim P. _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel