diff xml/en/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/en/docs/http/ngx_http_upstream_hc_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_hc_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_http_upstream_hc_module"
         link="/en/docs/http/ngx_http_upstream_hc_module.html"
         lang="en"
-        rev="4">
+        rev="5">
 
 <section id="summary">
 
@@ -290,6 +290,17 @@ body does not match regular expression “<literal>Welcome to nginx!</literal>”
 </tag-desc>
 
 </list>
+
+<list type="tag">
+
+<tag-name id="match_require"><literal>require</literal>
+                             <value>$variable</value>
+                             <literal>...;</literal></tag-name>
+<tag-desc>
+all specified variables are not empty and not equal to “0” (1.15.9).
+</tag-desc>
+
+</list>
 </para>
 
 <para>
@@ -328,6 +339,18 @@ match server_ok {
 }
 </example>
 
+<example>
+# status is 200 or 204
+map $upstream_status $good_status {
+    200 1;
+    204 1;
+}
+
+match server_ok {
+    require $good_status;
+}
+</example>
+
 </para>
 
 </directive>