Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 1462:e69e4dbcc760
Documented OSS stream modules.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 21 Apr 2015 13:47:00 +0300 |
parents | f5b5eefc43cb |
children | 9faa78768252 |
comparison
equal
deleted
inserted
replaced
1461:4e5cab61e548 | 1462:e69e4dbcc760 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_core_module" | 9 <module name="Module ngx_stream_core_module" |
10 link="/en/docs/stream/ngx_stream_core_module.html" | 10 link="/en/docs/stream/ngx_stream_core_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="2"> | 12 rev="3"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <note> | 17 The <literal>ngx_stream_core_module</literal> module |
18 This module is available as part of our | 18 is available since version 1.9.0. |
19 <commercial_version>commercial subscription</commercial_version>. | 19 This module is not built by default, it should be enabled with the |
20 </note> | 20 <literal>--with-stream</literal> |
21 configuration parameter. | |
21 </para> | 22 </para> |
22 | 23 |
23 </section> | 24 </section> |
24 | 25 |
25 | 26 |
93 </example> | 94 </example> |
94 | 95 |
95 </para> | 96 </para> |
96 | 97 |
97 <para> | 98 <para> |
98 The <literal>ssl</literal> parameter (1.7.10) allows specifying that all | 99 The <literal>ssl</literal> parameter allows specifying that all |
99 connections accepted on this port should work in SSL mode. | 100 connections accepted on this port should work in SSL mode. |
100 </para> | 101 </para> |
101 | 102 |
102 <para> | 103 <para> |
103 The <literal>listen</literal> directive | 104 The <literal>listen</literal> directive |
181 [<literal>valid</literal>=<value>time</value>] | 182 [<literal>valid</literal>=<value>time</value>] |
182 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]</syntax> | 183 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]</syntax> |
183 <default/> | 184 <default/> |
184 <context>stream</context> | 185 <context>stream</context> |
185 <context>server</context> | 186 <context>server</context> |
186 <appeared-in>1.7.10</appeared-in> | |
187 | 187 |
188 <para> | 188 <para> |
189 Configures name servers used to resolve names of upstream servers | 189 Configures name servers used to resolve names of upstream servers |
190 into addresses, for example: | 190 into addresses, for example: |
191 <example> | 191 <example> |
207 By default, nginx caches answers using the TTL value of a response. | 207 By default, nginx caches answers using the TTL value of a response. |
208 The optional <literal>valid</literal> parameter allows overriding it: | 208 The optional <literal>valid</literal> parameter allows overriding it: |
209 <example> | 209 <example> |
210 resolver 127.0.0.1 [::1]:5353 valid=30s; | 210 resolver 127.0.0.1 [::1]:5353 valid=30s; |
211 </example> | 211 </example> |
212 <note> | |
213 This directive is available as part of our | |
214 <commercial_version>commercial subscription</commercial_version>. | |
215 </note> | |
212 </para> | 216 </para> |
213 | 217 |
214 </directive> | 218 </directive> |
215 | 219 |
216 | 220 |
217 <directive name="resolver_timeout"> | 221 <directive name="resolver_timeout"> |
218 <syntax><value>time</value></syntax> | 222 <syntax><value>time</value></syntax> |
219 <default>30s</default> | 223 <default>30s</default> |
220 <context>stream</context> | 224 <context>stream</context> |
221 <context>server</context> | 225 <context>server</context> |
222 <appeared-in>1.7.10</appeared-in> | |
223 | 226 |
224 <para> | 227 <para> |
225 Sets a timeout for name resolution, for example: | 228 Sets a timeout for name resolution, for example: |
226 <example> | 229 <example> |
227 resolver_timeout 5s; | 230 resolver_timeout 5s; |
228 </example> | 231 </example> |
232 <note> | |
233 This directive is available as part of our | |
234 <commercial_version>commercial subscription</commercial_version>. | |
235 </note> | |
229 </para> | 236 </para> |
230 | 237 |
231 </directive> | 238 </directive> |
232 | 239 |
233 | 240 |