Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 171:6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
multiple "appeared-in" specifications.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 03 Nov 2011 21:40:27 +0000 |
parents | b7b160e4e046 |
children | 5e8e63f73c33 |
comparison
equal
deleted
inserted
replaced
170:cd2698ea00ab | 171:6eeaa9e1f3b5 |
---|---|
6 link="/en/docs/http/ngx_http_core_module.html" | 6 link="/en/docs/http/ngx_http_core_module.html" |
7 lang="en"> | 7 lang="en"> |
8 | 8 |
9 <section id="directives" name="Directives"> | 9 <section id="directives" name="Directives"> |
10 | 10 |
11 <directive name="aio" appeared-in="0.8.11"> | 11 <directive name="aio"> |
12 <syntax> | 12 <syntax> |
13 <value>on</value> | | 13 <value>on</value> | |
14 <value>off</value> | | 14 <value>off</value> | |
15 <value>sendfile</value> | 15 <value>sendfile</value> |
16 </syntax> | 16 </syntax> |
17 <default>off</default> | 17 <default>off</default> |
18 <context>http</context> | 18 <context>http</context> |
19 <context>server</context> | 19 <context>server</context> |
20 <context>location</context> | 20 <context>location</context> |
21 <appeared-in>0.8.11</appeared-in> | |
21 | 22 |
22 <para> | 23 <para> |
23 Enables or disables the use of asynchronous file I/O (AIO) | 24 Enables or disables the use of asynchronous file I/O (AIO) |
24 on FreeBSD and Linux. | 25 on FreeBSD and Linux. |
25 </para> | 26 </para> |
417 </para> | 418 </para> |
418 | 419 |
419 </directive> | 420 </directive> |
420 | 421 |
421 | 422 |
422 <directive name="directio" appeared-in="0.7.7"> | 423 <directive name="directio"> |
423 <syntax><argument>size</argument> | <value>off</value></syntax> | 424 <syntax><argument>size</argument> | <value>off</value></syntax> |
424 <default>off</default> | 425 <default>off</default> |
425 <context>http</context> | 426 <context>http</context> |
426 <context>server</context> | 427 <context>server</context> |
427 <context>location</context> | 428 <context>location</context> |
429 <appeared-in>0.7.7</appeared-in> | |
428 | 430 |
429 <para> | 431 <para> |
430 Enables the use of | 432 Enables the use of |
431 the <c-def>O_DIRECT</c-def> flag (FreeBSD, Linux), | 433 the <c-def>O_DIRECT</c-def> flag (FreeBSD, Linux), |
432 the <c-def>F_NOCACHE</c-def> flag (Mac OS X), | 434 the <c-def>F_NOCACHE</c-def> flag (Mac OS X), |
443 </para> | 445 </para> |
444 | 446 |
445 </directive> | 447 </directive> |
446 | 448 |
447 | 449 |
448 <directive name="directio_alignment" appeared-in="0.8.11"> | 450 <directive name="directio_alignment"> |
449 <syntax><argument>size</argument></syntax> | 451 <syntax><argument>size</argument></syntax> |
450 <default>512</default> | 452 <default>512</default> |
451 <context>http</context> | 453 <context>http</context> |
452 <context>server</context> | 454 <context>server</context> |
453 <context>location</context> | 455 <context>location</context> |
456 <appeared-in>0.8.11</appeared-in> | |
454 | 457 |
455 <para> | 458 <para> |
456 Sets an alignment for | 459 Sets an alignment for |
457 <link id="directio"/>. | 460 <link id="directio"/>. |
458 In most cases, a 512-byte alignment is enough, however, when | 461 In most cases, a 512-byte alignment is enough, however, when |
524 </para> | 527 </para> |
525 | 528 |
526 </directive> | 529 </directive> |
527 | 530 |
528 | 531 |
529 <directive name="if_modified_since" appeared-in="0.7.24"> | 532 <directive name="if_modified_since"> |
530 <syntax> | 533 <syntax> |
531 <value>off</value> | | 534 <value>off</value> | |
532 <value>exact</value> | | 535 <value>exact</value> | |
533 <value>before</value> | 536 <value>before</value> |
534 </syntax> | 537 </syntax> |
535 <default>exact</default> | 538 <default>exact</default> |
536 <context>http</context> | 539 <context>http</context> |
537 <context>server</context> | 540 <context>server</context> |
538 <context>location</context> | 541 <context>location</context> |
542 <appeared-in>0.7.24</appeared-in> | |
539 | 543 |
540 <para> | 544 <para> |
541 Specifies how to compare modification time of a response | 545 Specifies how to compare modification time of a response |
542 with the time in the | 546 with the time in the |
543 <header>If-Modified-Since</header> | 547 <header>If-Modified-Since</header> |
632 </para> | 636 </para> |
633 | 637 |
634 </directive> | 638 </directive> |
635 | 639 |
636 | 640 |
637 <directive name="keepalive_requests" appeared-in="0.8.0"> | 641 <directive name="keepalive_requests"> |
638 <syntax><argument>number</argument></syntax> | 642 <syntax><argument>number</argument></syntax> |
639 <default>100</default> | 643 <default>100</default> |
640 <context>http</context> | 644 <context>http</context> |
641 <context>server</context> | 645 <context>server</context> |
642 <context>location</context> | 646 <context>location</context> |
647 <appeared-in>0.8.0</appeared-in> | |
643 | 648 |
644 <para> | 649 <para> |
645 Sets the maximum number of requests that can be | 650 Sets the maximum number of requests that can be |
646 made through one keep-alive connection. | 651 made through one keep-alive connection. |
647 After this many requests are made, the connection is closed. | 652 After this many requests are made, the connection is closed. |
787 </para> | 792 </para> |
788 | 793 |
789 </directive> | 794 </directive> |
790 | 795 |
791 | 796 |
792 <directive name="limit_rate_after" appeared-in="0.8.0"> | 797 <directive name="limit_rate_after"> |
793 <syntax><argument>size</argument></syntax> | 798 <syntax><argument>size</argument></syntax> |
794 <default>0</default> | 799 <default>0</default> |
795 <context>http</context> | 800 <context>http</context> |
796 <context>server</context> | 801 <context>server</context> |
797 <context>location</context> | 802 <context>location</context> |
798 <context>if in location</context> | 803 <context>if in location</context> |
804 <appeared-in>0.8.0</appeared-in> | |
799 | 805 |
800 <para> | 806 <para> |
801 Sets the initial amount after which the further transmission | 807 Sets the initial amount after which the further transmission |
802 of a response to a client will be rate limited. | 808 of a response to a client will be rate limited. |
803 </para> | 809 </para> |