diff xml/en/docs/http/ngx_http_uwsgi_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_uwsgi_module.xml
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="8">
+        rev="9">
 
 <section id="summary">
 
@@ -671,6 +671,30 @@ with the <link doc="ngx_http_core_module
 </directive>
 
 
+<directive name="uwsgi_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 uwsgi 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="uwsgi_buffering">buffering</link> of responses from the uwsgi
+server is enabled.
+</para>
+
+</directive>
+
+
+
 <directive name="uwsgi_max_temp_file_size">
 <syntax><value>size</value></syntax>
 <default>1024m</default>