comparison xml/en/docs/http/ngx_http_scgi_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_scgi_module" 10 <module name="Module ngx_http_scgi_module"
11 link="/en/docs/http/ngx_http_scgi_module.html" 11 link="/en/docs/http/ngx_http_scgi_module.html"
12 lang="en" 12 lang="en"
13 rev="33"> 13 rev="34">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_scgi_module</literal> module allows passing 18 The <literal>ngx_http_scgi_module</literal> module allows passing
602 <literal>updating</literal> | 602 <literal>updating</literal> |
603 <literal>http_500</literal> | 603 <literal>http_500</literal> |
604 <literal>http_503</literal> | 604 <literal>http_503</literal> |
605 <literal>http_403</literal> | 605 <literal>http_403</literal> |
606 <literal>http_404</literal> | 606 <literal>http_404</literal> |
607 <literal>http_429</literal> |
607 <literal>off</literal> 608 <literal>off</literal>
608 ...</syntax> 609 ...</syntax>
609 <default>off</default> 610 <default>off</default>
610 <context>http</context> 611 <context>http</context>
611 <context>server</context> 612 <context>server</context>
948 <literal>invalid_header</literal> | 949 <literal>invalid_header</literal> |
949 <literal>http_500</literal> | 950 <literal>http_500</literal> |
950 <literal>http_503</literal> | 951 <literal>http_503</literal> |
951 <literal>http_403</literal> | 952 <literal>http_403</literal> |
952 <literal>http_404</literal> | 953 <literal>http_404</literal> |
954 <literal>http_429</literal> |
953 <literal>non_idempotent</literal> | 955 <literal>non_idempotent</literal> |
954 <literal>off</literal> 956 <literal>off</literal>
955 ...</syntax> 957 ...</syntax>
956 <default>error timeout</default> 958 <default>error timeout</default>
957 <context>http</context> 959 <context>http</context>
982 <tag-name><literal>http_403</literal></tag-name> 984 <tag-name><literal>http_403</literal></tag-name>
983 <tag-desc>a server returned a response with the code 403;</tag-desc> 985 <tag-desc>a server returned a response with the code 403;</tag-desc>
984 986
985 <tag-name><literal>http_404</literal></tag-name> 987 <tag-name><literal>http_404</literal></tag-name>
986 <tag-desc>a server returned a response with the code 404;</tag-desc> 988 <tag-desc>a server returned a response with the code 404;</tag-desc>
989
990 <tag-name><literal>http_429</literal></tag-name>
991 <tag-desc>a server returned a response with the code 429 (1.11.13);</tag-desc>
987 992
988 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> 993 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
989 <tag-desc>normally, requests with a 994 <tag-desc>normally, requests with a
990 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> 995 <link url="https://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
991 method 996 method
1013 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful 1018 <link doc="ngx_http_upstream_module.xml" id="max_fails">unsuccessful
1014 attempt</link> of communication with a server. 1019 attempt</link> of communication with a server.
1015 The cases of <literal>error</literal>, <literal>timeout</literal> and 1020 The cases of <literal>error</literal>, <literal>timeout</literal> and
1016 <literal>invalid_header</literal> are always considered unsuccessful attempts, 1021 <literal>invalid_header</literal> are always considered unsuccessful attempts,
1017 even if they are not specified in the directive. 1022 even if they are not specified in the directive.
1018 The cases of <literal>http_500</literal> and <literal>http_503</literal> are 1023 The cases of <literal>http_500</literal>, <literal>http_503</literal>,
1024 and <literal>http_429</literal> are
1019 considered unsuccessful attempts only if they are specified in the directive. 1025 considered unsuccessful attempts only if they are specified in the directive.
1020 The cases of <literal>http_403</literal> and <literal>http_404</literal> 1026 The cases of <literal>http_403</literal> and <literal>http_404</literal>
1021 are never considered unsuccessful attempts. 1027 are never considered unsuccessful attempts.
1022 </para> 1028 </para>
1023 1029