# HG changeset patch # User Yaroslav Zhuravlev # Date 1475604556 -10800 # Node ID dc1e51247404c1f2719e1cc89d32b7a7258fbb0b # Parent d6dc649957abc857df9c502043aab86686911ee1 Described inheritance model for sub_filter. diff -r d6dc649957ab -r dc1e51247404 xml/en/docs/http/ngx_http_sub_module.xml --- a/xml/en/docs/http/ngx_http_sub_module.xml Tue Oct 04 17:18:14 2016 +0300 +++ b/xml/en/docs/http/ngx_http_sub_module.xml Tue Oct 04 21:09:16 2016 +0300 @@ -10,7 +10,7 @@ + rev="5">
@@ -58,6 +58,8 @@ The string to replace (1.9.4) and replacement string can contain variables. Several sub_filter directives can be specified on one configuration level (1.9.4). +These directives are inherited from the previous level if and only if there are +no sub_filter directives defined on the current level. diff -r d6dc649957ab -r dc1e51247404 xml/ru/docs/http/ngx_http_sub_module.xml --- a/xml/ru/docs/http/ngx_http_sub_module.xml Tue Oct 04 17:18:14 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_sub_module.xml Tue Oct 04 21:09:16 2016 +0300 @@ -10,7 +10,7 @@ + rev="5">
@@ -58,6 +58,8 @@ В заменяемой строке (1.9.4) и в строке замены можно использовать переменные. На одном уровне может быть указано несколько директив sub_filter (1.9.4). +Директивы наследуются с предыдущего уровня при условии, что +на данном уровне не описаны свои директивы sub_filter.