# HG changeset patch # User Ruslan Ermilov # Date 1319020789 0 # Node ID 56457a47490373b3c75baf56607faddae22ec579 # Parent 1aa4f50144e4bd65951aada53f6e0df22e336525 If text of the link is not provided, the @id is used. diff -r 1aa4f50144e4 -r 56457a474903 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Wed Oct 19 08:30:46 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Wed Oct 19 10:39:49 2011 +0000 @@ -66,7 +66,7 @@ For AIO to work, -sendfile + needs to be disabled: location /video/ { @@ -94,14 +94,14 @@ one byte. The FreeBSD kernel then loads the first 128K bytes of a file into memory, however next reads will only load data in 16K chunks. This can be tuned using the -read_ahead + directive. On Linux, AIO is usable starting from kernel version 2.6.22; plus, it is also necessary to enable -directio, +, otherwise reading will be blocking: location /video/ { @@ -114,7 +114,7 @@ On Linux, -directio + can only be used for reading blocks that are aligned on 512-byte boundaries (or 4K for XFS). Reading of unaligned file's end is still made in blocking mode. @@ -122,9 +122,9 @@ not from the beginning of a file: reading of unaligned data at the beginning and end of a file will be blocking. There is no need to turn off -sendfile + explicitly as it is turned off automatically when -directio + is used. @@ -175,7 +175,7 @@ } it is better to use the -root + directive instead: location /images/ { @@ -324,7 +324,7 @@ it may not fit into 1K. If a request line, or a request header field do not fit entirely into this buffer then larger buffers are allocated, configured by the -large_client_header_buffers + directive. @@ -382,7 +382,7 @@ Defines a default MIME-type of a response. -See also the types directive. +See also the directive. @@ -402,13 +402,13 @@ or the directio function (Solaris), when reading files that are larger than the specified size. It automatically disables (0.7.15) the use of -sendfile + for a given request. It could be useful for serving large files: directio 4m; -or when using aio on Linux. +or when using on Linux. @@ -423,7 +423,7 @@ Sets an alignment for -directio. +. In most cases, a 512-byte alignment is enough, however, when using XFS under Linux, it needs to be increased to 4K. @@ -553,7 +553,7 @@ -requests redirected by the error_page directive; +requests redirected by the directive; @@ -565,7 +565,7 @@ requests changed by the -rewrite + directive of the module ngx_http_rewrite_module. @@ -722,7 +722,7 @@ This directive is not applicable if one wants to rate limit a group of clients on the -server + level. If that is the case, the desired limit can be specified in the $limit_rate @@ -1104,7 +1104,7 @@ Enables or disables logging of errors about not found files into the -error_log. +. @@ -1119,7 +1119,7 @@ Enables or disables logging of subrequests into the -access_log. +. @@ -1158,7 +1158,7 @@ If a directive is specified on the -server + level, which is also a default server, its value will cover all virtual servers listening on the same address and port. @@ -1222,7 +1222,7 @@ file lookup errors, such as “file not found”, “no read permission”, and so on. Caching of errors should be enabled separately by the -open_file_cache_errors + directive. @@ -1285,7 +1285,7 @@ Enables or disables caching of file lookup errors by -open_file_cache. +. @@ -1302,10 +1302,10 @@ Enables to use kernel events to validate -open_file_cache + elements. This directive works with the -kqueue + method only. Note that only NetBSD 2.0+ and FreeBSD 6.0+ support events for arbitrary file system types. @@ -1328,7 +1328,7 @@ Sets the minimum number of file accesses during the period configured by the inactive parameter -of the open_file_cache directive, +of the directive, after which a file descriptor will remain open in the cache. @@ -1344,11 +1344,11 @@ Sets a time after which -open_file_cache + elements should be validated. @@ -1365,7 +1365,7 @@ This directive is made obsolete by the -server_name_in_redirect directive. + directive.