Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_scgi_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/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_scgi_module" link="/en/docs/http/ngx_http_scgi_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -671,6 +671,29 @@ with the <link doc="ngx_http_core_module </directive> +<directive name="scgi_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 SCGI 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="scgi_buffering">buffering</link> of responses from the SCGI +server is enabled. +</para> + +</directive> + + <directive name="scgi_max_temp_file_size"> <syntax><value>size</value></syntax> <default>1024m</default>