changeset 1807:dc1e51247404

Described inheritance model for sub_filter.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 04 Oct 2016 21:09:16 +0300
parents d6dc649957ab
children 4b6d7686e00f
files xml/en/docs/http/ngx_http_sub_module.xml xml/ru/docs/http/ngx_http_sub_module.xml
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 <module name="Module ngx_http_sub_module"
         link="/en/docs/http/ngx_http_sub_module.html"
         lang="en"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -58,6 +58,8 @@
 The string to replace (1.9.4) and replacement string can contain variables.
 Several <literal>sub_filter</literal> 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 <literal>sub_filter</literal> directives defined on the current level.
 </para>
 
 </directive>
--- 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 @@
 <module name="Модуль ngx_http_sub_module"
         link="/ru/docs/http/ngx_http_sub_module.html"
         lang="ru"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -58,6 +58,8 @@
 В заменяемой строке (1.9.4) и в строке замены можно использовать переменные.
 На одном уровне может
 быть указано несколько директив <literal>sub_filter</literal> (1.9.4).
+Директивы наследуются с предыдущего уровня при условии, что
+на данном уровне не описаны свои директивы <literal>sub_filter</literal>.
 </para>
 
 </directive>