Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1518:0d349b6211f5
Added proxy_upstream_limit_rate, proxy_downstream_limit_rate.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 24 Jun 2015 14:12:49 +0300 |
parents | eef30c3dc519 |
children | 7b15698cbdb7 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_proxy_module.xml +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_proxy_module" link="/en/docs/stream/ngx_stream_proxy_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -95,6 +95,25 @@ buffer used for reading data from the cl </directive> +<directive name="proxy_downstream_limit_rate"> +<syntax><value>rate</value></syntax> +<default>0</default> +<context>stream</context> +<context>server</context> +<appeared-in>1.9.3</appeared-in> + +<para> +Limits the speed of reading the data from the client. +The <value>rate</value> is specified in bytes per second. +The zero value disables rate limiting. +The limit is set per a connection, so if the client simultaneously opens +two connections, +the overall rate will be twice as much as the specified limit. +</para> + +</directive> + + <directive name="proxy_next_upstream"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>on</default> @@ -419,6 +438,25 @@ buffer used for reading data from the up </directive> + +<directive name="proxy_upstream_limit_rate"> +<syntax><value>rate</value></syntax> +<default>0</default> +<context>stream</context> +<context>server</context> +<appeared-in>1.9.3</appeared-in> + +<para> +Limits the speed of reading the data from the proxied server. +The <value>rate</value> is specified in bytes per second. +The zero value disables rate limiting. +The limit is set per a connection, so if nginx simultaneously opens +two connections to the proxied server, +the overall rate will be twice as much as the specified limit. +</para> + +</directive> + </section> </module>