comparison xml/en/docs/http/ngx_http_fastcgi_module.xml @ 1669:c872b93682f4

Added "non_idempotent" for proxy_next_upstream and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 29 Mar 2016 18:21:11 +0300
parents 680cbf783efe
children 9c98c4498f08
comparison
equal deleted inserted replaced
1668:755c3c0324b1 1669:c872b93682f4
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="31"> 13 rev="32">
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
934 <literal>invalid_header</literal> | 934 <literal>invalid_header</literal> |
935 <literal>http_500</literal> | 935 <literal>http_500</literal> |
936 <literal>http_503</literal> | 936 <literal>http_503</literal> |
937 <literal>http_403</literal> | 937 <literal>http_403</literal> |
938 <literal>http_404</literal> | 938 <literal>http_404</literal> |
939 <literal>non_idempotent</literal> |
939 <literal>off</literal> 940 <literal>off</literal>
940 ...</syntax> 941 ...</syntax>
941 <default>error timeout</default> 942 <default>error timeout</default>
942 <context>http</context> 943 <context>http</context>
943 <context>server</context> 944 <context>server</context>
967 <tag-name><literal>http_403</literal></tag-name> 968 <tag-name><literal>http_403</literal></tag-name>
968 <tag-desc>a server returned a response with the code 403;</tag-desc> 969 <tag-desc>a server returned a response with the code 403;</tag-desc>
969 970
970 <tag-name><literal>http_404</literal></tag-name> 971 <tag-name><literal>http_404</literal></tag-name>
971 <tag-desc>a server returned a response with the code 404;</tag-desc> 972 <tag-desc>a server returned a response with the code 404;</tag-desc>
973
974 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
975 <tag-desc>normally, requests with a
976 <link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
977 method
978 (<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>)
979 are not passed to the next server
980 if a request has been sent to an upstream server (1.9.13);
981 enabling this option explicitly allows retrying such requests;
982 </tag-desc>
972 983
973 <tag-name><literal>off</literal></tag-name> 984 <tag-name><literal>off</literal></tag-name>
974 <tag-desc>disables passing a request to the next server.</tag-desc> 985 <tag-desc>disables passing a request to the next server.</tag-desc>
975 986
976 </list> 987 </list>