Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_api_module.xml +++ b/xml/en/docs/http/ngx_http_api_module.xml @@ -2280,7 +2280,7 @@ Parent server ID of the resolved server. Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. </tag-desc> <tag-name> -<literal>drain</literal> (<literal>string</literal>) +<literal>drain</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> 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.