Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1625:0ba4b2e561bd
Added 502 error to the "queue" directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 17 Dec 2015 18:18:48 +0300 |
parents | c2a0a18e65ba |
children | 44c4323144c5 |
comparison
equal
deleted
inserted
replaced
1624:46005596f221 | 1625:0ba4b2e561bd |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_upstream_module" | 10 <module name="Module ngx_http_upstream_module" |
11 link="/en/docs/http/ngx_http_upstream_module.html" | 11 link="/en/docs/http/ngx_http_upstream_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="44"> | 13 rev="45"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_upstream_module</literal> module | 18 The <literal>ngx_http_upstream_module</literal> module |
914 The directive specifies the maximum number of requests that can be in the queue | 914 The directive specifies the maximum number of requests that can be in the queue |
915 at the same time. | 915 at the same time. |
916 If the queue is filled up, | 916 If the queue is filled up, |
917 or the server to pass the request to cannot be selected within | 917 or the server to pass the request to cannot be selected within |
918 the time period specified in the <literal>timeout</literal> parameter, | 918 the time period specified in the <literal>timeout</literal> parameter, |
919 an error will be returned to the client. | 919 the <http-status code="502" text="Bad Gateway"/> |
920 error will be returned to the client. | |
920 </para> | 921 </para> |
921 | 922 |
922 <para> | 923 <para> |
923 The default value of the <literal>timeout</literal> parameter is 60 seconds. | 924 The default value of the <literal>timeout</literal> parameter is 60 seconds. |
924 </para> | 925 </para> |