Mercurial > hg > nginx-site
changeset 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 | 755c3c0324b1 |
children | e28e4e0b8520 |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml |
diffstat | 8 files changed, 99 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="31"> + rev="32"> <section id="summary"> @@ -936,6 +936,7 @@ or <link id="fastcgi_store">stored</link <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -970,6 +971,16 @@ server, passing a request to it, or read <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>normally, requests with a +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> +method +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; +</tag-desc> + <tag-name><literal>off</literal></tag-name> <tag-desc>disables passing a request to the next server.</tag-desc>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="44"> + rev="45"> <section id="summary"> @@ -1093,6 +1093,7 @@ to the proxied server instead of the met <literal>http_504</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -1133,6 +1134,16 @@ server, passing a request to it, or read <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>normally, requests with a +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> +method +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; +</tag-desc> + <tag-name><literal>off</literal></tag-name> <tag-desc>disables passing a request to the next server.</tag-desc>
--- a/xml/en/docs/http/ngx_http_scgi_module.xml +++ b/xml/en/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_scgi_module" link="/en/docs/http/ngx_http_scgi_module.html" lang="en" - rev="20"> + rev="21"> <section id="summary"> @@ -855,6 +855,7 @@ or <link id="scgi_store">stored</link> o <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -889,6 +890,16 @@ server, passing a request to it, or read <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>normally, requests with a +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> +method +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; +</tag-desc> + <tag-name><literal>off</literal></tag-name> <tag-desc>disables passing a request to the next server.</tag-desc>
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_uwsgi_module" link="/en/docs/http/ngx_http_uwsgi_module.html" lang="en" - rev="23"> + rev="24"> <section id="summary"> @@ -886,6 +886,7 @@ packet header</link>. <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -920,6 +921,16 @@ server, passing a request to it, or read <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>normally, requests with a +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">non-idempotent</link> +method +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +are not passed to the next server +if a request has been sent to an upstream server (1.9.13); +enabling this option explicitly allows retrying such requests; +</tag-desc> + <tag-name><literal>off</literal></tag-name> <tag-desc>disables passing a request to the next server.</tag-desc>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="31"> + rev="32"> <section id="summary"> @@ -934,6 +934,7 @@ FastCGI-сервера, и ответ не вмещается целиком в буферы, <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -968,6 +969,17 @@ FastCGI-сервера, и ответ не вмещается целиком в буферы, <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>обычно запросы с +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link> +методом +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; +</tag-desc> + + <tag-name><literal>off</literal></tag-name> <tag-desc>запрещает передачу запроса следующему серверу.</tag-desc>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="44"> + rev="45"> <section id="summary"> @@ -1093,6 +1093,7 @@ NTLM</link> рекомендуется версия 1.1. <literal>http_504</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -1133,6 +1134,17 @@ NTLM</link> рекомендуется версия 1.1. <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>обычно запросы с +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link> +методом +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; +</tag-desc> + + <tag-name><literal>off</literal></tag-name> <tag-desc>запрещает передачу запроса следующему серверу.</tag-desc>
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml +++ b/xml/ru/docs/http/ngx_http_scgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_scgi_module" link="/ru/docs/http/ngx_http_scgi_module.html" lang="ru" - rev="20"> + rev="21"> <section id="summary"> @@ -852,6 +852,7 @@ SCGI-сервера, и ответ не вмещается целиком в буферы, <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -886,6 +887,17 @@ SCGI-сервера, и ответ не вмещается целиком в буферы, <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>обычно запросы с +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link> +методом +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; +</tag-desc> + + <tag-name><literal>off</literal></tag-name> <tag-desc>запрещает передачу запроса следующему серверу.</tag-desc>
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml +++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_uwsgi_module" link="/ru/docs/http/ngx_http_uwsgi_module.html" lang="ru" - rev="23"> + rev="24"> <section id="summary"> @@ -881,6 +881,7 @@ uwsgi-сервера, и ответ не вмещается целиком в буферы, <literal>http_503</literal> | <literal>http_403</literal> | <literal>http_404</literal> | + <literal>non_idempotent</literal> | <literal>off</literal> ...</syntax> <default>error timeout</default> @@ -915,6 +916,16 @@ uwsgi-сервера, и ответ не вмещается целиком в буферы, <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc> +<tag-name id="non_idempotent"><literal>non_idempotent</literal></tag-name> +<tag-desc>обычно запросы с +<link url="http://tools.ietf.org/html/rfc7231#section-4.2.2">неидемпотентным</link> +методом +(<literal>POST</literal>, <literal>LOCK</literal>, <literal>PATCH</literal>) +не передаются на другой сервер, +если запрос серверу группы уже был отправлен (1.9.13); +включение параметра явно разрешает повторять подобные запросы; +</tag-desc> + <tag-name><literal>off</literal></tag-name> <tag-desc>запрещает передачу запроса следующему серверу.</tag-desc>