# HG changeset patch # User Yaroslav Zhuravlev # Date 1435835542 -10800 # Node ID 3ae5301ea37a500538cd32011755d936cffff39b # Parent f9a138e5ab148caac63582970bcec8b000f0858c Added the "events" section to examples of stream and mail. diff -r f9a138e5ab14 -r 3ae5301ea37a xml/en/docs/mail/ngx_mail_core_module.xml --- a/xml/en/docs/mail/ngx_mail_core_module.xml Wed Jul 01 22:33:47 2015 +0300 +++ b/xml/en/docs/mail/ngx_mail_core_module.xml Thu Jul 02 14:12:22 2015 +0300 @@ -10,7 +10,7 @@ + rev="8">
@@ -31,6 +31,10 @@ 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; diff -r f9a138e5ab14 -r 3ae5301ea37a xml/en/docs/stream/ngx_stream_core_module.xml --- a/xml/en/docs/stream/ngx_stream_core_module.xml Wed Jul 01 22:33:47 2015 +0300 +++ b/xml/en/docs/stream/ngx_stream_core_module.xml Thu Jul 02 14:12:22 2015 +0300 @@ -9,7 +9,7 @@ + rev="9">
@@ -32,6 +32,10 @@ error_log /var/log/nginx/error.log info; +events { + worker_connections 1024; +} + stream { upstream backend { hash $remote_addr consistent; diff -r f9a138e5ab14 -r 3ae5301ea37a xml/ru/docs/mail/ngx_mail_core_module.xml --- a/xml/ru/docs/mail/ngx_mail_core_module.xml Wed Jul 01 22:33:47 2015 +0300 +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml Thu Jul 02 14:12:22 2015 +0300 @@ -10,7 +10,7 @@ + rev="8">
@@ -31,6 +31,10 @@ 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;