comparison xml/en/docs/http/ngx_http_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 253641e268a8
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_http_keyval_module" 9 <module name="Module ngx_http_keyval_module"
10 link="/en/docs/http/ngx_http_keyval_module.html" 10 link="/en/docs/http/ngx_http_keyval_module.html"
11 lang="en" 11 lang="en"
12 rev="7"> 12 rev="8">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_http_keyval_module</literal> module (1.13.3) creates variables 17 The <literal>ngx_http_keyval_module</literal> module (1.13.3) creates variables
84 <directive name="keyval_zone"> 84 <directive name="keyval_zone">
85 <syntax> 85 <syntax>
86 <literal>zone</literal>=<value>name</value>:<value>size</value> 86 <literal>zone</literal>=<value>name</value>:<value>size</value>
87 [<literal>state</literal>=<value>file</value>] 87 [<literal>state</literal>=<value>file</value>]
88 [<literal>timeout</literal>=<value>time</value>] 88 [<literal>timeout</literal>=<value>time</value>]
89 [<literal>type</literal>=<literal>string</literal>|<literal>ip</literal>] 89 [<literal>type</literal>=<literal>string</literal>|<literal>ip</literal>|<literal>prefix</literal>]
90 [<literal>sync</literal>]</syntax> 90 [<literal>sync</literal>]</syntax>
91 <default/> 91 <default/>
92 <context>http</context> 92 <context>http</context>
93 93
94 <para> 94 <para>
134 or CIDR range; 134 or CIDR range;
135 to match a record key, the search key must belong to a subnet 135 to match a record key, the search key must belong to a subnet
136 specified by a record key or exactly match an IP address 136 specified by a record key or exactly match an IP address
137 </tag-desc> 137 </tag-desc>
138 138
139 <tag-name id="keyval_type_prefix"><literal>type=prefix</literal></tag-name>
140 <tag-desc>
141 variable lookup is performed using prefix match
142 of a record key and a search key (1.17.5);
143 to match a record key, the record key must be a prefix of the search key
144 </tag-desc>
145
139 </list> 146 </list>
140 </para> 147 </para>
141 148
142 <para id="keyval_sync"> 149 <para id="keyval_sync">
143 The optional <literal>sync</literal> parameter (1.15.0) enables 150 The optional <literal>sync</literal> parameter (1.15.0) enables