comparison 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
comparison
equal deleted inserted replaced
869:ade81792bdaa 870:6087d3fa6919
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_limit_conn_module" 10 <module name="Module ngx_http_limit_conn_module"
11 link="/en/docs/http/ngx_http_limit_conn_module.html" 11 link="/en/docs/http/ngx_http_limit_conn_module.html"
12 lang="en" 12 lang="en"
13 rev="1"> 13 rev="2">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_limit_conn_module</literal> module allows 18 The <literal>ngx_http_limit_conn_module</literal> module allows
120 <appeared-in>0.8.18</appeared-in> 120 <appeared-in>0.8.18</appeared-in>
121 121
122 <para> 122 <para>
123 Sets the desired logging level for cases when the server 123 Sets the desired logging level for cases when the server
124 limits the number of connections. 124 limits the number of connections.
125 </para>
126
127 </directive>
128
129
130 <directive name="limit_conn_status">
131 <syntax><value>code</value></syntax>
132 <default>503</default>
133 <context>http</context>
134 <context>server</context>
135 <context>location</context>
136 <appeared-in>1.3.15</appeared-in>
137
138 <para>
139 Sets status code to be used when requests are rejected.
125 </para> 140 </para>
126 141
127 </directive> 142 </directive>
128 143
129 144