Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_fastcgi_module.xml @ 1342:758fc0b02651
Documented the "proxy_limit_rate" directive and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 06 Oct 2014 14:49:16 +0400 |
parents | 91a064bdb4f9 |
children | 1bdde28e359b |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="19"> + rev="20"> <section id="summary"> @@ -729,6 +729,29 @@ fastcgi_param SCRIPT_FILENAME /home/www/ </directive> +<directive name="fastcgi_limit_rate"> +<syntax><value>скорость</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.7</appeared-in> + +<para> +Ограничивает скорость чтения ответа от FastCGI-сервера. +<value>Скорость</value> задаётся в байтах в секунду. +Значение 0 отключает ограничение скорости. +Ограничение устанавливается на запрос, +поэтому, если nginx одновременно +откроет два соединения, суммарная скорость будет вдвое выше +заданного ограничения. +Ограничение работает только в случае, если включена +<link id="fastcgi_buffering">буферизация</link> ответов FastCGI-сервера. +</para> + +</directive> + + <directive name="fastcgi_keep_conn"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default>