diff xml/en/docs/http/ngx_http_limit_conn_module.xml @ 870:6087d3fa6919

The limit_req_status and limit_conn_status directives.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 20 Mar 2013 21:47:21 +0400
parents af3f38e349eb
children 95c3c3bbf1ce
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml
+++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_limit_conn_module"
         link="/en/docs/http/ngx_http_limit_conn_module.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -127,6 +127,21 @@ limits the number of connections.
 </directive>
 
 
+<directive name="limit_conn_status">
+<syntax><value>code</value></syntax>
+<default>503</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.3.15</appeared-in>
+
+<para>
+Sets status code to be used when requests are rejected.
+</para>
+
+</directive>
+
+
 <directive name="limit_conn_zone">
 <syntax>
     <value>$variable</value>