comparison xml/en/docs/http/configuring_https_servers.xml @ 817:4fecf0715bbf

Introducing "worker_processes auto" in SSL configuration examples.
author Andrei Belov <defan@nginx.com>
date Tue, 22 Jan 2013 17:45:12 +0400
parents b95a6d779c89
children ac131944d349
comparison
equal deleted inserted replaced
816:c711c50bdcf4 817:4fecf0715bbf
6 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 6 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
7 7
8 <article name="Configuring HTTPS servers" 8 <article name="Configuring HTTPS servers"
9 link="/en/docs/http/configuring_https_servers.html" 9 link="/en/docs/http/configuring_https_servers.html"
10 lang="en" 10 lang="en"
11 rev="5" 11 rev="6"
12 author="Igor Sysoev" 12 author="Igor Sysoev"
13 editor="Brian Mercer"> 13 editor="Brian Mercer">
14 14
15 <section> 15 <section>
16 16
96 One megabyte of the cache contains about 4000 sessions. 96 One megabyte of the cache contains about 4000 sessions.
97 The default cache timeout is 5 minutes. 97 The default cache timeout is 5 minutes.
98 It can be increased by using the 98 It can be increased by using the
99 <link doc="ngx_http_ssl_module.xml" id="ssl_session_timeout"/> 99 <link doc="ngx_http_ssl_module.xml" id="ssl_session_timeout"/>
100 directive. 100 directive.
101 Here is a sample configuration optimized for a quad core system 101 Here is a sample configuration optimized for a multi-core system
102 with 10 megabyte shared session cache: 102 with 10 megabyte shared session cache:
103 103
104 <programlisting> 104 <programlisting>
105 <b>worker_processes 4</b>; 105 <b>worker_processes auto</b>;
106 106
107 http { 107 http {
108 <b>ssl_session_cache shared:SSL:10m</b>; 108 <b>ssl_session_cache shared:SSL:10m</b>;
109 <b>ssl_session_timeout 10m</b>; 109 <b>ssl_session_timeout 10m</b>;
110 110