Mercurial > hg > nginx-site
changeset 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 | f9a138e5ab14 |
children | bcffd2161de7 |
files | xml/en/docs/mail/ngx_mail_core_module.xml xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/mail/ngx_mail_core_module.xml |
diffstat | 3 files changed, 15 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/mail/ngx_mail_core_module.xml +++ b/xml/en/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_mail_core_module" link="/en/docs/mail/ngx_mail_core_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -31,6 +31,10 @@ worker_processes 1; error_log /var/log/nginx/error.log info; +events { + worker_connections 1024; +} + mail { server_name mail.example.com; auth_http localhost:9000/cgi-bin/nginxauth.cgi;
--- a/xml/en/docs/stream/ngx_stream_core_module.xml +++ b/xml/en/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_core_module" link="/en/docs/stream/ngx_stream_core_module.html" lang="en" - rev="8"> + rev="9"> <section id="summary"> @@ -32,6 +32,10 @@ worker_processes auto; error_log /var/log/nginx/error.log info; +events { + worker_connections 1024; +} + stream { upstream backend { hash $remote_addr consistent;
--- a/xml/ru/docs/mail/ngx_mail_core_module.xml +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_mail_core_module" link="/ru/docs/mail/ngx_mail_core_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -31,6 +31,10 @@ worker_processes 1; error_log /var/log/nginx/error.log info; +events { + worker_connections 1024; +} + mail { server_name mail.example.com; auth_http localhost:9000/cgi-bin/nginxauth.cgi;