comparison xml/en/docs/http/ngx_http_core_module.xml @ 659:77a3314c74a7

Avoid the uses of second person.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 28 Aug 2012 09:23:40 +0000
parents eba81bfb6aaf
children c48c0936b4df
comparison
equal deleted inserted replaced
658:bd81a71006fe 659:77a3314c74a7
416 <context>server</context> 416 <context>server</context>
417 <context>location</context> 417 <context>location</context>
418 418
419 <para> 419 <para>
420 Defines a default MIME-type of a response. 420 Defines a default MIME-type of a response.
421 See also the <link id="types"/> directive. 421 Mapping of file name extensions to MIME types can be set
422 with the <link id="types"/> directive.
422 </para> 423 </para>
423 424
424 </directive> 425 </directive>
425 426
426 427
1769 <para> 1770 <para>
1770 Enables or disables specifying the port in redirects issued by nginx. 1771 Enables or disables specifying the port in redirects issued by nginx.
1771 </para> 1772 </para>
1772 1773
1773 <para> 1774 <para>
1774 See also the <link id="server_name_in_redirect"/> directive. 1775 The use of a primary server name in redirects is controlled by
1776 the <link id="server_name_in_redirect"/> directive.
1775 </para> 1777 </para>
1776 1778
1777 </directive> 1779 </directive>
1778 1780
1779 1781
2252 2254
2253 </list> 2255 </list>
2254 </para> 2256 </para>
2255 2257
2256 <para> 2258 <para>
2257 For more information, please refer to the 2259 Detailed description of server names is provided in a separate
2258 <link doc="server_names.xml"/> document. 2260 <link doc="server_names.xml"/> document.
2259 </para> 2261 </para>
2260 2262
2261 </directive> 2263 </directive>
2262 2264
2276 is used. 2278 is used.
2277 If this field is not present, an IP address of the server is used. 2279 If this field is not present, an IP address of the server is used.
2278 </para> 2280 </para>
2279 2281
2280 <para> 2282 <para>
2281 See also the <link id="port_in_redirect"/> directive. 2283 The use of a port in redirects is controlled by
2284 the <link id="port_in_redirect"/> directive.
2282 </para> 2285 </para>
2283 2286
2284 </directive> 2287 </directive>
2285 2288
2286 2289
2290 <context>http</context> 2293 <context>http</context>
2291 2294
2292 <para> 2295 <para>
2293 Sets the bucket size for the server names hash tables. 2296 Sets the bucket size for the server names hash tables.
2294 Default value depends on the size of the processor’s cache line. 2297 Default value depends on the size of the processor’s cache line.
2295 For more information, please refer to 2298 Details of setting up hash tables are provided in a separate
2296 <link doc="../hash.xml">Setting Up Hashes</link>. 2299 <link doc="../hash.xml">document</link>.
2297 </para> 2300 </para>
2298 2301
2299 </directive> 2302 </directive>
2300 2303
2301 2304
2304 <default>512</default> 2307 <default>512</default>
2305 <context>http</context> 2308 <context>http</context>
2306 2309
2307 <para> 2310 <para>
2308 Sets the maximum <value>size</value> of the server names hash tables. 2311 Sets the maximum <value>size</value> of the server names hash tables.
2309 For more information, please refer to 2312 Details of setting up hash tables are provided in a separate
2310 <link doc="../hash.xml">Setting Up Hashes</link>. 2313 <link doc="../hash.xml">document</link>.
2311 </para> 2314 </para>
2312 2315
2313 </directive> 2316 </directive>
2314 2317
2315 2318
2402 location = /images/default.gif { 2405 location = /images/default.gif {
2403 expires 30s; 2406 expires 30s;
2404 } 2407 }
2405 </example> 2408 </example>
2406 The last parameter can also point to a named location, 2409 The last parameter can also point to a named location,
2407 see examples below. 2410 as shown in examples below.
2408 As of version 0.7.51, the last parameter can also be a 2411 As of version 0.7.51, the last parameter can also be a
2409 <value>code</value>: 2412 <value>code</value>:
2410 <example> 2413 <example>
2411 location / { 2414 location / {
2412 try_files $uri $uri/index.html $uri.html =404; 2415 try_files $uri $uri/index.html $uri.html =404;
2567 <context>location</context> 2570 <context>location</context>
2568 2571
2569 <para> 2572 <para>
2570 Sets the bucket size for the types hash tables. 2573 Sets the bucket size for the types hash tables.
2571 Default value depends on the size of the processor’s cache line. 2574 Default value depends on the size of the processor’s cache line.
2572 For more information, please refer to 2575 Details of setting up hash tables are provided in a separate
2573 <link doc="../hash.xml">Setting Up Hashes</link>. 2576 <link doc="../hash.xml">document</link>.
2574 </para> 2577 </para>
2575 2578
2576 </directive> 2579 </directive>
2577 2580
2578 2581
2583 <context>server</context> 2586 <context>server</context>
2584 <context>location</context> 2587 <context>location</context>
2585 2588
2586 <para> 2589 <para>
2587 Sets the maximum <value>size</value> of the types hash tables. 2590 Sets the maximum <value>size</value> of the types hash tables.
2588 For more information, please refer to 2591 Details of setting up hash tables are provided in a separate
2589 <link doc="../hash.xml">Setting Up Hashes</link>. 2592 <link doc="../hash.xml">document</link>.
2590 </para> 2593 </para>
2591 2594
2592 </directive> 2595 </directive>
2593 2596
2594 2597
2620 <default>64</default> 2623 <default>64</default>
2621 <context>http</context> 2624 <context>http</context>
2622 2625
2623 <para> 2626 <para>
2624 Sets the bucket size for the variables hash table. 2627 Sets the bucket size for the variables hash table.
2625 For more information, please refer to 2628 Details of setting up hash tables are provided in a separate
2626 <link doc="../hash.xml">Setting Up Hashes</link>. 2629 <link doc="../hash.xml">document</link>.
2627 </para> 2630 </para>
2628 2631
2629 </directive> 2632 </directive>
2630 2633
2631 2634
2634 <default>512</default> 2637 <default>512</default>
2635 <context>http</context> 2638 <context>http</context>
2636 2639
2637 <para> 2640 <para>
2638 Sets the maximum <value>size</value> of the variables hash table. 2641 Sets the maximum <value>size</value> of the variables hash table.
2639 For more information, please refer to 2642 Details of setting up hash tables are provided in a separate
2640 <link doc="../hash.xml">Setting Up Hashes</link>. 2643 <link doc="../hash.xml">document</link>.
2641 </para> 2644 </para>
2642 2645
2643 </directive> 2646 </directive>
2644 2647
2645 </section> 2648 </section>