# HG changeset patch # User Ruslan Ermilov # Date 1318182687 0 # Node ID 9de85defbcf804f67a69b01731909fbc670bec9a # Parent d98323a15ba4bd40d4fbc33eb15fb4f7a4f10c65 - "optimize_server_names" is deprecated in favour of "server_name_in_redirects" - "resolver" can take hostname as an argument diff -r d98323a15ba4 -r 9de85defbcf8 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Sun Oct 09 16:56:56 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Sun Oct 09 17:51:27 2011 +0000 @@ -1151,7 +1151,7 @@ Turning the compression off can become necessary if a URI -contains base64-encoded names, since base64 uses the "/" character internally. +contains base64-encoded names, since base64 uses the “/” character internally. However, for security considerations, it is better to avoid turning off the compression. @@ -1196,10 +1196,10 @@ +open_file_cache off open_file_cache max=N -[inactive=time] | -off +[inactive=time] open_file_cache off http @@ -1219,7 +1219,7 @@ -file lookup errors, such as "file not found", "no read permission", +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 @@ -1245,7 +1245,7 @@ inactive -defines a time, after which the element gets removed from the cache +defines a time, after which an element gets removed from the cache if there were no accesses to it during this time; by default, it is 60 seconds; @@ -1284,7 +1284,7 @@ location -Enables or disables caching of file lookup errors by the +Enables or disables caching of file lookup errors by open_file_cache. @@ -1337,7 +1337,7 @@ open_file_cache_valid time -open_file_cache_valid 60 +open_file_cache_valid 60s http server location @@ -1364,9 +1364,11 @@ server -This directive is obsolete. +This directive is made obsolete by the +server_name_in_redirect directive. + @@ -1479,6 +1482,8 @@ resolver 127.0.0.1; +An address may also be a hostname, in which case +the first resolved address is used. @@ -1576,7 +1581,7 @@ send_timeout time -send_timeout 60 +send_timeout 60s http server location