# HG changeset patch # User Ruslan Ermilov # Date 1318492664 0 # Node ID 89c31b453d40daf72d6133de93c23bc641f8839c # Parent 5a2dcd623666d95fa88a820792858f4578fdaf7f Sorted directives alphabetically. diff -r 5a2dcd623666 -r 89c31b453d40 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Thu Oct 13 07:45:20 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Thu Oct 13 07:57:44 2011 +0000 @@ -187,6 +187,27 @@ + + +client_body_buffer_size size +client_body_buffer_size 8k|16k +http +server +location + + +Sets buffer size for reading client request body. +In case request body is larger than the buffer, +the whole body or only its part is written to a +temporary file. +By default, buffer size is equal to two memory pages. +This is 8K on x86, other 32-bit platforms, and x86-64. +It is usually 16K on other 64-bit platforms. + + + + + client_body_in_file_only on | @@ -241,27 +262,6 @@ - - -client_body_buffer_size size -client_body_buffer_size 8k|16k -http -server -location - - -Sets buffer size for reading client request body. -In case request body is larger than the buffer, -the whole body or only its part is written to a -temporary file. -By default, buffer size is equal to two memory pages. -This is 8K on x86, other 32-bit platforms, and x86-64. -It is usually 16K on other 64-bit platforms. - - - - - client_body_temp_path path @@ -1794,20 +1794,6 @@ - -server_names_hash_max_size size -server_names_hash_max_size 512 -http - - -Sets the maximum size of the server names hash tables. -For more information, please refer to -Setting Up Hashes. - - - - - server_names_hash_bucket_size size server_names_hash_bucket_size 32|64|128 @@ -1823,6 +1809,20 @@ + +server_names_hash_max_size size +server_names_hash_max_size 512 +http + + +Sets the maximum size of the server names hash tables. +For more information, please refer to +Setting Up Hashes. + + + + + server_tokens on | off server_tokens on @@ -2136,7 +2136,7 @@ The module ngx_http_core_module supports embedded variables with names matching those of the Apache Server. First of all, these are variables representing client request header -fields, such as, $http_user_agent, $http_cookie, +fields, such as $http_user_agent, $http_cookie, and so on. It also supports other variables: diff -r 5a2dcd623666 -r 89c31b453d40 xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml Thu Oct 13 07:45:20 2011 +0000 +++ b/xml/en/docs/ngx_core_module.xml Thu Oct 13 07:57:44 2011 +0000 @@ -154,21 +154,6 @@ - -user user [group] -user nobody nobody -main - - -Defines user and group -credentials used by worker processes. -If group is omitted, a group whose name equals -that of user is used. - - - - - timer_resolution interval @@ -212,29 +197,16 @@ - -worker_rlimit_core size - + +user user [group] +user nobody nobody main -Changes the limit on the largest size of a core file -(RLIMIT_CORE) for worker processes. -Used to increase the limit without restarting the main process. - - - - - - -worker_rlimit_nofile number - -main - - -Changes the limit on the maximum number of open files -(RLIMIT_NOFILE) for worker processes. -Used to increase the limit without restarting the main process. +Defines user and group +credentials used by worker processes. +If group is omitted, a group whose name equals +that of user is used. @@ -275,6 +247,34 @@ + +worker_rlimit_core size + +main + + +Changes the limit on the largest size of a core file +(RLIMIT_CORE) for worker processes. +Used to increase the limit without restarting the main process. + + + + + + +worker_rlimit_nofile number + +main + + +Changes the limit on the maximum number of open files +(RLIMIT_NOFILE) for worker processes. +Used to increase the limit without restarting the main process. + + + + + working_directory directory