Mercurial > hg > nginx-site
changeset 1904:d59199b0c022
Documented the "build" parameter of the "server_tokens" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 13 Feb 2017 15:43:57 +0300 |
parents | da00a2526415 |
children | d1c4bfa72cbb |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Mon Feb 13 15:42:51 2017 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Feb 13 15:43:57 2017 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="66"> + rev="67"> <section id="directives" name="Directives"> @@ -2530,6 +2530,7 @@ <syntax> <literal>on</literal> | <literal>off</literal> | + <literal>build</literal> | <value>string</value></syntax> <default>on</default> <context>http</context> @@ -2541,6 +2542,12 @@ <header>Server</header> response header field. </para> +<para id="server_tokens_build"> +The <literal>build</literal> parameter (1.11.10) +enables emitting nginx build name on error pages and in the +<header>Server</header> response header field. +</para> + <para> Additionally, as part of our <commercial_version>commercial subscription</commercial_version>,
--- a/xml/ru/docs/http/ngx_http_core_module.xml Mon Feb 13 15:42:51 2017 +0300 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Mon Feb 13 15:43:57 2017 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="66"> + rev="67"> <section id="directives" name="Директивы"> @@ -2531,6 +2531,7 @@ <syntax> <literal>on</literal> | <literal>off</literal> | + <literal>build</literal> | <value>строка</value></syntax> <default>on</default> <context>http</context> @@ -2542,6 +2543,12 @@ в поле <header>Server</header> заголовка ответа. </para> +<para id="server_tokens_build"> +Параметр <literal>build</literal> (1.11.10) +разрешает выдавать имя сборки nginx на страницах ошибок и +в поле <header>Server</header> заголовка ответа. +</para> + <para> Дополнительно, как часть <commercial_version>коммерческой подписки</commercial_version>,