comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1956:dd96a09dd4f7

Documented support for "429 Too Many Requests" response.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 04 Apr 2017 17:43:25 +0300
parents 66a30a380fba
children 3460bd328287
comparison
equal deleted inserted replaced
1955:182bbf9034c4 1956:dd96a09dd4f7
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_fastcgi_module" 10 <module name="Module ngx_http_fastcgi_module"
11 link="/en/docs/http/ngx_http_fastcgi_module.html" 11 link="/en/docs/http/ngx_http_fastcgi_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_fastcgi_module</literal> module allows passing 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing
611 <literal>updating</literal> | 611 <literal>updating</literal> |
612 <literal>http_500</literal> | 612 <literal>http_500</literal> |
613 <literal>http_503</literal> | 613 <literal>http_503</literal> |
614 <literal>http_403</literal> | 614 <literal>http_403</literal> |
615 <literal>http_404</literal> | 615 <literal>http_404</literal> |
616 <literal>http_429</literal> |
616 <literal>off</literal> 617 <literal>off</literal>
617 ...</syntax> 618 ...</syntax>
618 <default>off</default> 619 <default>off</default>
619 <context>http</context> 620 <context>http</context>
620 <context>server</context> 621 <context>server</context>
1029 <literal>invalid_header</literal> | 1030 <literal>invalid_header</literal> |
1030 <literal>http_500</literal> | 1031 <literal>http_500</literal> |
1031 <literal>http_503</literal> | 1032 <literal>http_503</literal> |
1032 <literal>http_403</literal> | 1033 <literal>http_403</literal> |
1033 <literal>http_404</literal> | 1034 <literal>http_404</literal> |
1035 <literal>http_429</literal> |
1034 <literal>non_idempotent</literal> | 1036 <literal>non_idempotent</literal> |
1035 <literal>off</literal> 1037 <literal>off</literal>
1036 ...</syntax> 1038 ...</syntax>
1037 <default>error timeout</default> 1039 <default>error timeout</default>
1038 <context>http</context> 1040 <context>http</context>
1063 <tag-name><literal>http_403</literal></tag-name> 1065 <tag-name><literal>http_403</literal></tag-name>
1064 <tag-desc>a server returned a response with the code 403;</tag-desc> 1066 <tag-desc>a server returned a response with the code 403;</tag-desc>
1065 1067
1066 <tag-name><literal>http_404</literal></tag-name> 1068 <tag-name><literal>http_404</literal></tag-name>
1067 <tag-desc>a server returned a response with the code 404;</tag-desc> 1069 <tag-desc>a server returned a response with the code 404;</tag-desc>
1070
1071 <tag-name><literal>http_429</literal></tag-name>
1072 <tag-desc>a server returned a response with the code 429 (1.11.13);</tag-desc>
1068 1073
1069 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> 1074 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
1070 <tag-desc>normally, requests with a 1075 <tag-desc>normally, requests with a
1071 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> 1076 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
1072 method 1077 method
1094 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful 1099 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful
1095 attempt</link> of communication with a server. 1100 attempt</link> of communication with a server.
1096 The cases of <literal>error</literal>, <literal>timeout</literal> and 1101 The cases of <literal>error</literal>, <literal>timeout</literal> and
1097 <literal>invalid_header</literal> are always considered unsuccessful attempts, 1102 <literal>invalid_header</literal> are always considered unsuccessful attempts,
1098 even if they are not specified in the directive. 1103 even if they are not specified in the directive.
1099 The cases of <literal>http_500</literal> and <literal>http_503</literal> are 1104 The cases of <literal>http_500</literal>, <literal>http_503</literal>,
1105 and <literal>http_429</literal> are
1100 considered unsuccessful attempts only if they are specified in the directive. 1106 considered unsuccessful attempts only if they are specified in the directive.
1101 The cases of <literal>http_403</literal> and <literal>http_404</literal> 1107 The cases of <literal>http_403</literal> and <literal>http_404</literal>
1102 are never considered unsuccessful attempts. 1108 are never considered unsuccessful attempts.
1103 </para> 1109 </para>
1104 1110