changeset 2795:691de23367a7

Added link to "Virtual server Selection" in buffer directives.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Jul 2021 13:57:32 +0100
parents b74f2038f2b5
children bcdb13e1e8c6
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 58 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="98">
+        rev="99">
 
 <section id="directives" name="Directives">
 
@@ -422,6 +422,14 @@ this buffer then larger buffers, configu
 are allocated.
 </para>
 
+<para>
+If the directive is specified on the <link id="server"/> level,
+the value from the default server can be used.
+Details are provided in the
+“<link doc="server_names.xml" id="virtual_server_selection">Virtual
+server selection</link>” section.
+</para>
+
 </directive>
 
 
@@ -821,9 +829,10 @@ directive).
 
 <para>
 If the directive is specified on the <link id="server"/> level,
-its value is only used if a server is a default one.
-The value specified also applies to all virtual servers
-listening on the same address and port.
+the value from the default server can be used.
+Details are provided in the
+“<link doc="server_names.xml" id="virtual_server_selection">Virtual
+server selection</link>” section.
 </para>
 
 </directive>
@@ -1024,6 +1033,14 @@ If after the end of request processing a
 into the keep-alive state, these buffers are released.
 </para>
 
+<para>
+If the directive is specified on the <link id="server"/> level,
+the value from the default server can be used.
+Details are provided in the
+“<link doc="server_names.xml" id="virtual_server_selection">Virtual
+server selection</link>” section.
+</para>
+
 </directive>
 
 
@@ -1814,9 +1831,10 @@ the compression off.
 
 <para>
 If the directive is specified on the <link id="server"/> level,
-its value is only used if a server is a default one.
-The value specified also applies to all virtual servers
-listening on the same address and port.
+the value from the default server can be used.
+Details are provided in the
+“<link doc="server_names.xml" id="virtual_server_selection">Virtual
+server selection</link>” section.
 </para>
 
 </directive>
@@ -2985,9 +3003,10 @@ marked as invalid and become subject to 
 
 <para>
 If the directive is specified on the <link id="server"/> level,
-its value is only used if a server is a default one.
-The value specified also applies to all virtual servers
-listening on the same address and port.
+the value from the default server can be used.
+Details are provided in the
+“<link doc="server_names.xml" id="virtual_server_selection">Virtual
+server selection</link>” section.
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_core_module.xml
+++ b/xml/ru/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="98">
+        rev="99">
 
 <section id="directives" name="Директивы">
 
@@ -418,6 +418,14 @@ client_body_temp_path /spool/nginx/clien
 <link id="large_client_header_buffers"/>.
 </para>
 
+<para>
+Если директива указана на уровне <link id="server"/>,
+то может использоваться значение из сервера по умолчанию.
+Подробнее см. в разделе
+“<link doc="server_names.xml" id="virtual_server_selection">Выбор
+виртуального сервера</link>”.
+</para>
+
 </directive>
 
 
@@ -815,10 +823,10 @@ error_page 404 =301 http://example.com/n
 
 <para>
 Если директива указана на уровне <link id="server"/>,
-её значение используется только в том случае,
-если сервер является сервером по умолчанию.
-Указанное значение распространяется на все виртуальные серверы,
-слушающие на том же адресе и порту.
+то может использоваться значение из сервера по умолчанию.
+Подробнее см. в разделе
+“<link doc="server_names.xml" id="virtual_server_selection">Выбор
+виртуального сервера</link>”.
 </para>
 
 </directive>
@@ -1020,6 +1028,14 @@ MSIE сам закрывает keep-alive соединение примерно через 60 секунд.
 keep-alive, эти буферы освобождаются.
 </para>
 
+<para>
+Если директива указана на уровне <link id="server"/>,
+то может использоваться значение из сервера по умолчанию.
+Подробнее см. в разделе
+“<link doc="server_names.xml" id="virtual_server_selection">Выбор
+виртуального сервера</link>”.
+</para>
+
 </directive>
 
 
@@ -1813,10 +1829,10 @@ location /scripts/ {
 
 <para>
 Если директива указана на уровне <link id="server"/>,
-её значение используется только в том случае,
-если сервер является сервером по умолчанию.
-Указанное значение распространяется на все виртуальные серверы,
-слушающие на том же адресе и порту.
+то может использоваться значение из сервера по умолчанию.
+Подробнее см. в разделе
+“<link doc="server_names.xml" id="virtual_server_selection">Выбор
+виртуального сервера</link>”.
 </para>
 
 </directive>
@@ -2985,10 +3001,10 @@ location /download/ {
 
 <para>
 Если директива указана на уровне <link id="server"/>,
-её значение используется только в том случае,
-если сервер является сервером по умолчанию.
-Указанное значение распространяется на все виртуальные серверы,
-слушающие на том же адресе и порту.
+то может использоваться значение из сервера по умолчанию.
+Подробнее см. в разделе
+“<link doc="server_names.xml" id="virtual_server_selection">Выбор
+виртуального сервера</link>”.
 </para>
 
 </directive>