comparison xml/en/docs/http/ngx_http_scgi_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_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="20"> 13 rev="21">
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
853 <literal>invalid_header</literal> | 853 <literal>invalid_header</literal> |
854 <literal>http_500</literal> | 854 <literal>http_500</literal> |
855 <literal>http_503</literal> | 855 <literal>http_503</literal> |
856 <literal>http_403</literal> | 856 <literal>http_403</literal> |
857 <literal>http_404</literal> | 857 <literal>http_404</literal> |
858 <literal>non_idempotent</literal> |
858 <literal>off</literal> 859 <literal>off</literal>
859 ...</syntax> 860 ...</syntax>
860 <default>error timeout</default> 861 <default>error timeout</default>
861 <context>http</context> 862 <context>http</context>
862 <context>server</context> 863 <context>server</context>
886 <tag-name><literal>http_403</literal></tag-name> 887 <tag-name><literal>http_403</literal></tag-name>
887 <tag-desc>a server returned a response with the code 403;</tag-desc> 888 <tag-desc>a server returned a response with the code 403;</tag-desc>
888 889
889 <tag-name><literal>http_404</literal></tag-name> 890 <tag-name><literal>http_404</literal></tag-name>
890 <tag-desc>a server returned a response with the code 404;</tag-desc> 891 <tag-desc>a server returned a response with the code 404;</tag-desc>
892
893 <tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name>
894 <tag-desc>normally, requests with a
895 <link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link>
896 method
897 (<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>)
898 are not passed to the next server
899 if a request has been sent to an upstream server (1.9.13);
900 enabling this option explicitly allows retrying such requests;
901 </tag-desc>
891 902
892 <tag-name><literal>off</literal></tag-name> 903 <tag-name><literal>off</literal></tag-name>
893 <tag-desc>disables passing a request to the next server.</tag-desc> 904 <tag-desc>disables passing a request to the next server.</tag-desc>
894 905
895 </list> 906 </list>