# HG changeset patch # User Ruslan Ermilov # Date 1318238589 0 # Node ID 0987079ad08f9cc3cb82a84a5521eab777d0aaba # Parent c007b57d617cbb888945710f4aef703f52ff545f - "try_files" can be specified in the "server" context, - "types_hash_bucket_size", "types_hash_max_size", "variables_hash_bucket_size", "variables_hash_max_size" are documented. diff -r c007b57d617c -r 0987079ad08f xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Mon Oct 10 08:23:43 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Oct 10 09:23:09 2011 +0000 @@ -244,7 +244,7 @@ client_body_buffer_size size -client_body_buffer_size 8k/16k +client_body_buffer_size 8k|16k http server location @@ -1810,7 +1810,7 @@ server_names_hash_bucket_size size -server_names_hash_bucket_size 32/64/128 +server_names_hash_bucket_size 32|64|128 http @@ -1865,7 +1865,7 @@ Enables or disables the use of the TCP_NOPUSH socket option on FreeBSD or the TCP_CORK socket option on Linux. -Opitons are enables only when sendfile is used. +Opitons are enabled only when sendfile is used. Enabling the option allows to @@ -1894,14 +1894,15 @@ =code +server location Checks the existence of files in the specified order, and uses the first found file for request processing; the processing -is performed in this location's context. +is performed in the current context. It is possible to check the directory existence by specifying -the slash at the end of a name, e.g. $uri/. +a slash at the end of a name, e.g. $uri/. If none of the files were found, an internal redirect to the uri specified by the last argument is made. As of version 0.7.51, the last argument can also be a @@ -2054,6 +2055,39 @@ + +types_hash_bucket_size size +types_hash_bucket_size 32|64|128 +http +server +location + + +Sets the bucket size for the types hash tables. +Default value depends on the size of the processor's cache line. +For more information, please refer to +Setting Up Hashes. + + + + + + +types_hash_max_size size +types_hash_max_size 1024 +http +server +location + + +Sets the maximum size of the types hash tables. +For more information, please refer to +Setting Up Hashes. + + + + + underscores_in_headers on | off underscores_in_headers off @@ -2066,6 +2100,34 @@ + + +variables_hash_bucket_size size +variables_hash_bucket_size 64 +http + + +Sets the bucket size for the variables hash table. +For more information, please refer to +Setting Up Hashes. + + + + + + +variables_hash_max_size size +variables_hash_max_size 512 +http + + +Sets the maximum size of the variables hash table. +For more information, please refer to +Setting Up Hashes. + + + +