From 1ebdcd1d90f63201660026950d2169f4fb1dc20f Mon Sep 17 00:00:00 2001
From: Ruslan Ermilov Directives
syntax:
+HTTP Core Module
Directives
syntax:
aio
on |
off |
@@ -148,8 +148,8 @@ This directive can be used during debugging, or when using the
$request_body_file
variable, or the
$r->request_body_file
-method of the
-http_perl module.
+method of the module
+ngx_http_perl_module.
When set to the value on, temporary files are not
removed after request processing.
@@ -203,8 +203,8 @@ Defines a timeout for reading client request body.
A timeout is only set between two successive read operations,
not for the transmission of the whole request body.
If a client does not transmit anything within this time,
-the error
-"Request time out" (408)
+the client error
+408 (Request Time-out)
is returned.
client_header_buffer_size sizehttp, serverDefines a timeout for reading client request header. If a client does not transmit the entire header within this time, -the error -"Request time out" (408) +the client error +408 (Request Time-out) is returned.
client_max_body_size sizeContent-Length
request header field.
-If size is greater than the configured value, the
-"Request Entity Too Large" (413)
-error is returned to a client.
+If it exceeds the configured value, the client error
+413 (Request Entity Too Large)
+is returned.
Please be aware that
browsers cannot correctly display
this error.
@@ -341,8 +341,9 @@ request header.
nonelocationSpecifies that a given location can only be used for internal requests. -For external requests, the "Not found" (404) -error is returned. +For external requests, the client error +404 (Not Found) +is returned. Internal requests are the following:
include virtual
-command of the
-http_ssi module;
+command of the module
+ngx_http_ssi_module;
Example:
@@ -396,12 +397,13 @@ MSIE will close keep-alive connection in about 60 seconds.
http, server
Sets the maximum number and size of
buffers used when reading large client request headers.
-A request line cannot exceed the size of one buffer, or the
-"Request URI too large" (414)
-error is returned.
+A request line cannot exceed the size of one buffer, or the client error
+414 (Request-URI Too Large)
+is returned.
A request header field cannot exceed the size of one buffer as well, or the
-"Bad request" (400)
-error is returned.
+client error
+400 (Bad Request)
+is returned.
Buffers are allocated only on demand.
By default, the buffer size is equal to one memory page size.
It is either 4K or 8K, platform dependent.
@@ -414,9 +416,9 @@ into the keep-alive state, these buffers are freed.
Limits allowed HTTP methods inside a location.
The GET method also implies the HEAD method.
Access to other methods can be limited using the
-http_access
+ngx_http_access_module
and
-http_auth_basic
+ngx_http_auth_basic_module
modules directives:
limit_except GET {
@@ -866,8 +868,8 @@ If a URI need to be modified, the
satisfy all
context:
location
Allows access if any of the
-http_access
-or http_auth_basic
+ngx_http_access_module
+or ngx_http_auth_basic_module
modules grant access.
location / {
@@ -1192,8 +1194,8 @@ location /download/ {
http, server
Enables or disables the use of underscores in client request header fields.
Embedded Variables
-The http_core module supports embedded variables with names matching
-those of the Apache Server.
+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,
and so on.
--
cgit