Mercurial > hg > nginx-site
diff xml/en/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 | c63717ebc5bc |
children | 1bdde28e359b |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="19"> + rev="20"> <section id="summary"> @@ -731,6 +731,29 @@ with the <link doc="ngx_http_core_module </directive> +<directive name="fastcgi_limit_rate"> +<syntax><value>rate</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.7</appeared-in> + +<para> +Limits the speed of reading the response from the FastCGI server. +The <value>rate</value> is specified in bytes per second. +The zero value disables rate limiting. +The limit is set per a request, and so if nginx simultaneously opens +two connections, the overall rate will be twice as much +as the specified limit. +The limitation works only if +<link id="fastcgi_buffering">buffering</link> of responses from the FastCGI +server is enabled. +</para> + +</directive> + + <directive name="fastcgi_keep_conn"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default>