comparison xml/en/docs/http/ngx_http_ssl_module.xml @ 1039:f7ca80263893

Documented the "ssl_buffer_size" directive.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 24 Dec 2013 16:18:57 +0400
parents 2b6a858c60dc
children c5793e5c30d4
comparison
equal deleted inserted replaced
1038:30d7ab9687c0 1039:f7ca80263893
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_ssl_module" 10 <module name="Module ngx_http_ssl_module"
11 link="/en/docs/http/ngx_http_ssl_module.html" 11 link="/en/docs/http/ngx_http_ssl_module.html"
12 lang="en" 12 lang="en"
13 rev="8"> 13 rev="9">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_ssl_module</literal> module provides the 18 The <literal>ngx_http_ssl_module</literal> module provides the
99 <note> 99 <note>
100 It is recommended to use the <literal>ssl</literal> parameter of the 100 It is recommended to use the <literal>ssl</literal> parameter of the
101 <link doc="ngx_http_core_module.xml" id="listen"/> directive instead 101 <link doc="ngx_http_core_module.xml" id="listen"/> directive instead
102 of this directive. 102 of this directive.
103 </note> 103 </note>
104 </para>
105
106 </directive>
107
108
109 <directive name="ssl_buffer_size">
110 <syntax><value>size</value></syntax>
111 <default>16k</default>
112 <context>http</context>
113 <context>server</context>
114 <appeared-in>1.5.9</appeared-in>
115
116 <para>
117 Sets the size of the buffer used for sending data.
118 </para>
119
120 <para>
121 By default, the buffer size is 16k, which corresponds to minimal
122 overhead when sending big responses.
123 To minimize Time To First Byte it may be beneficial to use smaller values,
124 for example:
125 <example>
126 ssl_buffer_size 4k;
127 </example>
104 </para> 128 </para>
105 129
106 </directive> 130 </directive>
107 131
108 132