Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 1528:3ae5301ea37a
Added the "events" section to examples of stream and mail.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 02 Jul 2015 14:12:22 +0300 |
parents | 14180fa9a518 |
children | 8ea1813272bb |
comparison
equal
deleted
inserted
replaced
1527:f9a138e5ab14 | 1528:3ae5301ea37a |
---|---|
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="8"> | 12 rev="9"> |
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 |
29 <para> | 29 <para> |
30 <example> | 30 <example> |
31 worker_processes auto; | 31 worker_processes auto; |
32 | 32 |
33 error_log /var/log/nginx/error.log info; | 33 error_log /var/log/nginx/error.log info; |
34 | |
35 events { | |
36 worker_connections 1024; | |
37 } | |
34 | 38 |
35 stream { | 39 stream { |
36 upstream backend { | 40 upstream backend { |
37 hash $remote_addr consistent; | 41 hash $remote_addr consistent; |
38 | 42 |