Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_upstream_hc_module.xml @ 2359:d5e576eb7677
Updated docs for the upcoming NGINX Plus release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 08 Apr 2019 11:45:08 +0300 |
parents | ef22a80a2696 |
children | 52500ccb82c1 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_upstream_hc_module.xml Thu Apr 04 20:02:01 2019 +0300 +++ b/xml/ru/docs/http/ngx_http_upstream_hc_module.xml Mon Apr 08 11:45:08 2019 +0300 @@ -9,7 +9,7 @@ <module name="Модуль ngx_http_upstream_hc_module" link="/ru/docs/http/ngx_http_upstream_hc_module.html" lang="ru" - rev="4"> + rev="5"> <section id="summary"> @@ -293,6 +293,17 @@ </tag-desc> </list> + +<list type="tag"> + +<tag-name id="match_require"><literal>require</literal> + <value>$переменная</value> + <literal>...;</literal></tag-name> +<tag-desc> +все указанные переменные непустые и не равны “0” (1.15.9). +</tag-desc> + +</list> </para> <para> @@ -331,6 +342,18 @@ } </example> +<example> +# код ответа равен 200 или 204 +map $upstream_status $good_status { + 200 1; + 204 1; +} + +match server_ok { + require $good_status; +} +</example> + </para> </directive>