Mercurial > hg > nginx-site
changeset 1664:1a05fd32dca8
Documented the "aio_write" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 21 Mar 2016 17:29:58 +0300 |
parents | 552c06be2335 |
children | 57b53a0818df |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 39 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Fri Mar 18 19:37:07 2016 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Mar 21 17:29:58 2016 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="52"> + rev="53"> <section id="directives" name="Directives"> @@ -154,6 +154,24 @@ </directive> +<directive name="aio_write"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.9.13</appeared-in> + +<para> +If <link id="aio"/> is enabled, specifies whether it is used for writing files. +Currently, works only when using +<literal>aio threads</literal> +and is used for writing temporary files with data received from proxied servers. +</para> + +</directive> + + <directive name="alias"> <syntax><value>path</value></syntax> <default/>
--- a/xml/ru/docs/http/ngx_http_core_module.xml Fri Mar 18 19:37:07 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Mon Mar 21 17:29:58 2016 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="52"> + rev="53"> <section id="directives" name="Директивы"> @@ -154,6 +154,25 @@ </directive> +<directive name="aio_write"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.9.13</appeared-in> + +<para> +При включённом <link id="aio"/> разрешает его использование для записи файлов. +В настоящий момент работает только при использовании +<literal>aio threads</literal> +и используется при записи временных файлов с данными, +полученными от проксируемых серверов. +</para> + +</directive> + + <directive name="alias"> <syntax><value>путь</value></syntax> <default/>