# HG changeset patch # User Andrei Belov # Date 1358862312 -14400 # Node ID 4fecf0715bbfbf0ecd152a8f87a6998379734633 # Parent c711c50bdcf4fc026f28625a6d42fb1adb1b3716 Introducing "worker_processes auto" in SSL configuration examples. diff --git a/xml/en/docs/http/configuring_https_servers.xml b/xml/en/docs/http/configuring_https_servers.xml --- a/xml/en/docs/http/configuring_https_servers.xml +++ b/xml/en/docs/http/configuring_https_servers.xml @@ -8,7 +8,7 @@
@@ -98,11 +98,11 @@ The default cache timeout is 5 minutes. It can be increased by using the directive. -Here is a sample configuration optimized for a quad core system +Here is a sample configuration optimized for a multi-core system with 10 megabyte shared session cache: -worker_processes 4; +worker_processes auto; http { ssl_session_cache shared:SSL:10m; diff --git a/xml/en/docs/http/ngx_http_ssl_module.xml b/xml/en/docs/http/ngx_http_ssl_module.xml --- a/xml/en/docs/http/ngx_http_ssl_module.xml +++ b/xml/en/docs/http/ngx_http_ssl_module.xml @@ -10,7 +10,7 @@ + rev="7">
@@ -61,7 +61,7 @@ and possibly increase the session lifeti -worker_processes 2; +worker_processes auto; http { diff --git a/xml/ru/docs/http/configuring_https_servers.xml b/xml/ru/docs/http/configuring_https_servers.xml --- a/xml/ru/docs/http/configuring_https_servers.xml +++ b/xml/ru/docs/http/configuring_https_servers.xml @@ -8,7 +8,7 @@
@@ -98,11 +98,11 @@ SSL handshake для параллельных и последующих соединений. Таймаут кэша по умолчанию равен 5 минутам. Он может быть увеличен с помощью директивы . -Вот пример конфигурации, оптимизированной под 4-ядерную систему +Вот пример конфигурации, оптимизированной под многоядерную систему с 10-мегабайтным разделяемым кэшем сессий: -worker_processes 4; +worker_processes auto; http { ssl_session_cache shared:SSL:10m; diff --git a/xml/ru/docs/http/ngx_http_ssl_module.xml b/xml/ru/docs/http/ngx_http_ssl_module.xml --- a/xml/ru/docs/http/ngx_http_ssl_module.xml +++ b/xml/ru/docs/http/ngx_http_ssl_module.xml @@ -10,7 +10,7 @@ + rev="7">
@@ -61,7 +61,7 @@ -worker_processes 2; +worker_processes auto; http {