Mercurial > hg > nginx-site
comparison yaml/nginx_api.yaml @ 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 |
---|---|
2387 type: string | 2387 type: string |
2388 description: Hostname of the resolved server. | 2388 description: Hostname of the resolved server. |
2389 The hostname is assigned automatically and cannot be changed. | 2389 The hostname is assigned automatically and cannot be changed. |
2390 readOnly: true | 2390 readOnly: true |
2391 drain: | 2391 drain: |
2392 type: string | 2392 type: boolean |
2393 description: Puts the HTTP upstream server into the “draining” mode. | 2393 description: Puts the HTTP upstream server into the “draining” mode. |
2394 In this mode, only requests | 2394 In this mode, only requests |
2395 <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</a> | 2395 <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</a> |
2396 to the server will be proxied to it. | 2396 to the server will be proxied to it. |
2397 The parameter cannot be initially set, | 2397 The parameter cannot be initially set, |