Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 2349:0eabe2f4d365
Documented listen port ranges for stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 26 Mar 2019 10:55:49 +0300 |
parents | 1d60e4b4ed64 |
children | ee4eccd811cd |
comparison
equal
deleted
inserted
replaced
2348:5e17930672f5 | 2349:0eabe2f4d365 |
---|---|
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="26"> | 12 rev="27"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_core_module</literal> module | 17 The <literal>ngx_stream_core_module</literal> module |
111 UNIX-domain sockets are specified with the “<literal>unix:</literal>” | 111 UNIX-domain sockets are specified with the “<literal>unix:</literal>” |
112 prefix: | 112 prefix: |
113 <example> | 113 <example> |
114 listen unix:/var/run/nginx.sock; | 114 listen unix:/var/run/nginx.sock; |
115 </example> | 115 </example> |
116 | 116 </para> |
117 | |
118 <para id="listen_port_range"> | |
119 Port ranges (1.15.10) are specified with the | |
120 first and last port separated by a hyphen: | |
121 <example> | |
122 listen 127.0.0.1:12345-12399; | |
123 listen 12345-12399; | |
124 </example> | |
117 </para> | 125 </para> |
118 | 126 |
119 <para> | 127 <para> |
120 The <literal>ssl</literal> parameter allows specifying that all | 128 The <literal>ssl</literal> parameter allows specifying that all |
121 connections accepted on this port should work in SSL mode. | 129 connections accepted on this port should work in SSL mode. |