comparison xml/en/docs/http/ngx_http_api_module.xml @ 2072:116994597b0e

Changed the type of the "drain" parameter to boolean.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 17 Nov 2017 19:58:59 +0300
parents 593dfdc524ae
children fee7627f6a5a
comparison
equal deleted inserted replaced
2071:838c503fd2f7 2072:116994597b0e
2278 </tag-name> 2278 </tag-name>
2279 <tag-desc> 2279 <tag-desc>
2280 Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. 2280 Hostname of the resolved server. The hostname is assigned automatically and cannot be changed.
2281 </tag-desc> 2281 </tag-desc>
2282 <tag-name> 2282 <tag-name>
2283 <literal>drain</literal> (<literal>string</literal>) 2283 <literal>drain</literal> (<literal>boolean</literal>)
2284 </tag-name> 2284 </tag-name>
2285 <tag-desc> 2285 <tag-desc>
2286 Puts the HTTP upstream server into the “draining” mode. In this mode, only requests <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</link> to the server will be proxied to it. The parameter cannot be initially set, it can only be changed with the <literal>PATCH</literal> method. 2286 Puts the HTTP upstream server into the “draining” mode. In this mode, only requests <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</link> to the server will be proxied to it. The parameter cannot be initially set, it can only be changed with the <literal>PATCH</literal> method.
2287 </tag-desc> 2287 </tag-desc>
2288 </list> 2288 </list>