Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 82:89c31b453d40
Sorted directives alphabetically.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 13 Oct 2011 07:57:44 +0000 |
parents | 0987079ad08f |
children | e8ed74d3fa0e |
comparison
equal
deleted
inserted
replaced
81:5a2dcd623666 | 82:89c31b453d40 |
---|---|
185 </para> | 185 </para> |
186 | 186 |
187 </directive> | 187 </directive> |
188 | 188 |
189 | 189 |
190 <directive name="client_body_buffer_size"> | |
191 | |
192 <syntax>client_body_buffer_size <argument>size</argument></syntax> | |
193 <default>client_body_buffer_size 8k|16k</default> | |
194 <context>http</context> | |
195 <context>server</context> | |
196 <context>location</context> | |
197 | |
198 <para> | |
199 Sets buffer size for reading client request body. | |
200 In case request body is larger than the buffer, | |
201 the whole body or only its part is written to a | |
202 <link id="client_body_temp_path">temporary file</link>. | |
203 By default, buffer size is equal to two memory pages. | |
204 This is 8K on x86, other 32-bit platforms, and x86-64. | |
205 It is usually 16K on other 64-bit platforms. | |
206 </para> | |
207 | |
208 </directive> | |
209 | |
210 | |
190 <directive name="client_body_in_file_only"> | 211 <directive name="client_body_in_file_only"> |
191 <syntax>client_body_in_file_only | 212 <syntax>client_body_in_file_only |
192 <value>on</value> | | 213 <value>on</value> | |
193 <value>clean</value> | | 214 <value>clean</value> | |
194 <value>off</value> | 215 <value>off</value> |
234 Determines whether nginx should save the entire client request body | 255 Determines whether nginx should save the entire client request body |
235 in a single buffer. | 256 in a single buffer. |
236 The directive is recommended when using the | 257 The directive is recommended when using the |
237 <var>$request_body</var> | 258 <var>$request_body</var> |
238 variable, to save the number of copy operations involved. | 259 variable, to save the number of copy operations involved. |
239 </para> | |
240 | |
241 </directive> | |
242 | |
243 | |
244 <directive name="client_body_buffer_size"> | |
245 | |
246 <syntax>client_body_buffer_size <argument>size</argument></syntax> | |
247 <default>client_body_buffer_size 8k|16k</default> | |
248 <context>http</context> | |
249 <context>server</context> | |
250 <context>location</context> | |
251 | |
252 <para> | |
253 Sets buffer size for reading client request body. | |
254 In case request body is larger than the buffer, | |
255 the whole body or only its part is written to a | |
256 <link id="client_body_temp_path">temporary file</link>. | |
257 By default, buffer size is equal to two memory pages. | |
258 This is 8K on x86, other 32-bit platforms, and x86-64. | |
259 It is usually 16K on other 64-bit platforms. | |
260 </para> | 260 </para> |
261 | 261 |
262 </directive> | 262 </directive> |
263 | 263 |
264 | 264 |
1792 </para> | 1792 </para> |
1793 | 1793 |
1794 </directive> | 1794 </directive> |
1795 | 1795 |
1796 | 1796 |
1797 <directive name="server_names_hash_bucket_size"> | |
1798 <syntax>server_names_hash_bucket_size <argument>size</argument></syntax> | |
1799 <default>server_names_hash_bucket_size 32|64|128</default> | |
1800 <context>http</context> | |
1801 | |
1802 <para> | |
1803 Sets the bucket size for the server names hash tables. | |
1804 Default value depends on the size of the processor's cache line. | |
1805 For more information, please refer to | |
1806 <link doc="../hash.xml">Setting Up Hashes</link>. | |
1807 </para> | |
1808 | |
1809 </directive> | |
1810 | |
1811 | |
1797 <directive name="server_names_hash_max_size"> | 1812 <directive name="server_names_hash_max_size"> |
1798 <syntax>server_names_hash_max_size <argument>size</argument></syntax> | 1813 <syntax>server_names_hash_max_size <argument>size</argument></syntax> |
1799 <default>server_names_hash_max_size 512</default> | 1814 <default>server_names_hash_max_size 512</default> |
1800 <context>http</context> | 1815 <context>http</context> |
1801 | 1816 |
1802 <para> | 1817 <para> |
1803 Sets the maximum <argument>size</argument> of the server names hash tables. | 1818 Sets the maximum <argument>size</argument> of the server names hash tables. |
1804 For more information, please refer to | |
1805 <link doc="../hash.xml">Setting Up Hashes</link>. | |
1806 </para> | |
1807 | |
1808 </directive> | |
1809 | |
1810 | |
1811 <directive name="server_names_hash_bucket_size"> | |
1812 <syntax>server_names_hash_bucket_size <argument>size</argument></syntax> | |
1813 <default>server_names_hash_bucket_size 32|64|128</default> | |
1814 <context>http</context> | |
1815 | |
1816 <para> | |
1817 Sets the bucket size for the server names hash tables. | |
1818 Default value depends on the size of the processor's cache line. | |
1819 For more information, please refer to | 1819 For more information, please refer to |
1820 <link doc="../hash.xml">Setting Up Hashes</link>. | 1820 <link doc="../hash.xml">Setting Up Hashes</link>. |
1821 </para> | 1821 </para> |
1822 | 1822 |
1823 </directive> | 1823 </directive> |
2134 | 2134 |
2135 <para> | 2135 <para> |
2136 The module <code>ngx_http_core_module</code> supports embedded variables with | 2136 The module <code>ngx_http_core_module</code> supports embedded variables with |
2137 names matching those of the Apache Server. | 2137 names matching those of the Apache Server. |
2138 First of all, these are variables representing client request header | 2138 First of all, these are variables representing client request header |
2139 fields, such as, <var>$http_user_agent</var>, <var>$http_cookie</var>, | 2139 fields, such as <var>$http_user_agent</var>, <var>$http_cookie</var>, |
2140 and so on. | 2140 and so on. |
2141 It also supports other variables: | 2141 It also supports other variables: |
2142 <list type="tag"> | 2142 <list type="tag"> |
2143 | 2143 |
2144 <tag-name><var>$args</var></tag-name> | 2144 <tag-name><var>$args</var></tag-name> |