Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 2179:962e1adfa032
Documented UDP streams.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 06 Jun 2018 20:15:49 +0300 |
parents | b19d5d47c16c |
children | 1d60e4b4ed64 |
comparison
equal
deleted
inserted
replaced
2178:cb431c861670 | 2179:962e1adfa032 |
---|---|
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="24"> | 12 rev="25"> |
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 |
56 proxy_timeout 3s; | 56 proxy_timeout 3s; |
57 proxy_pass backend; | 57 proxy_pass backend; |
58 } | 58 } |
59 | 59 |
60 server { | 60 server { |
61 listen 127.0.0.1:53 udp; | 61 listen 127.0.0.1:53 udp reuseport; |
62 proxy_responses 1; | |
63 proxy_timeout 20s; | 62 proxy_timeout 20s; |
64 proxy_pass dns; | 63 proxy_pass dns; |
65 } | 64 } |
66 | 65 |
67 server { | 66 server { |