comparison xml/en/docs/stream/ngx_stream_keyval_module.xml @ 2469:98fd810c13e0

Updated docs for the upcoming NGINX Plus release.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 02 Dec 2019 13:23:05 +0300
parents d58fc33a0830
children 4823370295e6
comparison
equal deleted inserted replaced
2468:409e1f755037 2469:98fd810c13e0
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_keyval_module" 9 <module name="Module ngx_stream_keyval_module"
10 link="/en/docs/stream/ngx_stream_keyval_module.html" 10 link="/en/docs/stream/ngx_stream_keyval_module.html"
11 lang="en" 11 lang="en"
12 rev="6"> 12 rev="7">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_keyval_module</literal> module (1.13.7) creates variables 17 The <literal>ngx_stream_keyval_module</literal> module (1.13.7) creates variables
88 <directive name="keyval_zone"> 88 <directive name="keyval_zone">
89 <syntax> 89 <syntax>
90 <literal>zone</literal>=<value>name</value>:<value>size</value> 90 <literal>zone</literal>=<value>name</value>:<value>size</value>
91 [<literal>state</literal>=<value>file</value>] 91 [<literal>state</literal>=<value>file</value>]
92 [<literal>timeout</literal>=<value>time</value>] 92 [<literal>timeout</literal>=<value>time</value>]
93 [<literal>type</literal>=<literal>string</literal>|<literal>ip</literal>] 93 [<literal>type</literal>=<literal>string</literal>|<literal>ip</literal>|<literal>prefix</literal>]
94 [<literal>sync</literal>]</syntax> 94 [<literal>sync</literal>]</syntax>
95 <default/> 95 <default/>
96 <context>stream</context> 96 <context>stream</context>
97 97
98 <para> 98 <para>
138 or CIDR range; 138 or CIDR range;
139 to match a record key, the search key must belong to a subnet 139 to match a record key, the search key must belong to a subnet
140 specified by a record key or exactly match an IP address 140 specified by a record key or exactly match an IP address
141 </tag-desc> 141 </tag-desc>
142 142
143 <tag-name id="keyval_type_prefix"><literal>type=prefix</literal></tag-name>
144 <tag-desc>
145 variable lookup is performed using prefix match
146 of a record key and a search key (1.17.5);
147 to match a record key, the record key must be a prefix of the search key
148 </tag-desc>
149
143 </list> 150 </list>
144 </para> 151 </para>
145 152
146 <para id="keyval_sync"> 153 <para id="keyval_sync">
147 The optional <literal>sync</literal> parameter (1.15.0) enables 154 The optional <literal>sync</literal> parameter (1.15.0) enables