Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_ssl_module.xml @ 2068:3d9e7993c201
Added links to directives in the example of ssl modules.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 23 Oct 2017 14:48:21 +0300 |
parents | 8f1a568a8bbf |
children | e2e71f9477a8 |
comparison
equal
deleted
inserted
replaced
2067:014323d0cc38 | 2068:3d9e7993c201 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_ssl_module" | 9 <module name="Module ngx_stream_ssl_module" |
10 link="/en/docs/stream/ngx_stream_ssl_module.html" | 10 link="/en/docs/stream/ngx_stream_ssl_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="17"> | 12 rev="18"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_ssl_module</literal> module (1.9.0) | 17 The <literal>ngx_stream_ssl_module</literal> module (1.9.0) |
30 <para> | 30 <para> |
31 To reduce the processor load, it is recommended to | 31 To reduce the processor load, it is recommended to |
32 <list type="bullet"> | 32 <list type="bullet"> |
33 | 33 |
34 <listitem> | 34 <listitem> |
35 set the number of worker processes equal to the number of processors, | 35 set the number of |
36 <link doc="../ngx_core_module.xml" id="worker_processes">worker processes</link> | |
37 equal to the number of processors, | |
36 </listitem> | 38 </listitem> |
37 | 39 |
38 <listitem> | 40 <listitem> |
39 enable the shared session cache, | 41 enable the <link id="ssl_session_cache_shared">shared</link> session cache, |
40 </listitem> | 42 </listitem> |
41 | 43 |
42 <listitem> | 44 <listitem> |
43 disable the built-in session cache, | 45 disable the <link id="ssl_session_cache_builtin">built-in</link> session cache, |
44 </listitem> | 46 </listitem> |
45 | 47 |
46 <listitem> | 48 <listitem> |
47 and possibly increase the session lifetime (by default, 5 minutes): | 49 and possibly increase the session <link id="ssl_session_timeout">lifetime</link> |
50 (by default, 5 minutes): | |
48 </listitem> | 51 </listitem> |
49 | 52 |
50 </list> | 53 </list> |
51 | 54 |
52 <example> | 55 <example> |
366 the use of a session cache is gently disallowed: | 369 the use of a session cache is gently disallowed: |
367 nginx tells a client that sessions may be reused, but does not | 370 nginx tells a client that sessions may be reused, but does not |
368 actually store session parameters in the cache. | 371 actually store session parameters in the cache. |
369 </tag-desc> | 372 </tag-desc> |
370 | 373 |
371 <tag-name><literal>builtin</literal></tag-name> | 374 <tag-name id="ssl_session_cache_builtin"><literal>builtin</literal></tag-name> |
372 <tag-desc> | 375 <tag-desc> |
373 a cache built in OpenSSL; used by one worker process only. | 376 a cache built in OpenSSL; used by one worker process only. |
374 The cache size is specified in sessions. | 377 The cache size is specified in sessions. |
375 If size is not given, it is equal to 20480 sessions. | 378 If size is not given, it is equal to 20480 sessions. |
376 Use of the built-in cache can cause memory fragmentation. | 379 Use of the built-in cache can cause memory fragmentation. |
377 </tag-desc> | 380 </tag-desc> |
378 | 381 |
379 <tag-name><literal>shared</literal></tag-name> | 382 <tag-name id="ssl_session_cache_shared"><literal>shared</literal></tag-name> |
380 <tag-desc> | 383 <tag-desc> |
381 a cache shared between all worker processes. | 384 a cache shared between all worker processes. |
382 The cache size is specified in bytes; one megabyte can store | 385 The cache size is specified in bytes; one megabyte can store |
383 about 4000 sessions. | 386 about 4000 sessions. |
384 Each shared cache should have an arbitrary name. | 387 Each shared cache should have an arbitrary name. |