Mercurial > hg > nginx-site
changeset 246:6bfacf7124c6
Minor tweaks.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 Dec 2011 16:09:35 +0000 |
parents | a627ecdece14 |
children | 6f411297069c |
files | xml/en/docs/http/ngx_http_core_module.xml |
diffstat | 1 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Thu Dec 15 14:59:34 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Fri Dec 16 16:09:35 2011 +0000 @@ -1343,7 +1343,8 @@ <para> Turning the compression <value>off</value> can become necessary if a URI -contains base64-encoded names, since base64 uses the “/” character internally. +contains base64-encoded names, since base64 uses the “<code>/</code>” +character internally. However, for security considerations, it is better to avoid turning off the compression. </para> @@ -1413,9 +1414,11 @@ <listitem> file lookup errors, such as “file not found”, “no read permission”, and so on. +<note> Caching of errors should be enabled separately by the <link id="open_file_cache_errors"/> directive. +</note> </listitem> </list> @@ -1799,6 +1802,10 @@ <link doc="ngx_http_access_module.xml">ngx_http_access_module</link> or <link doc="ngx_http_auth_basic_module.xml">ngx_http_auth_basic_module</link> modules grant access. +</para> + +<para> +Example: <example> location / { satisfy any; @@ -2597,9 +2604,11 @@ When passing the name of a temporary file in a proxied request, or in a request to a FastCGI server, passing of the request body should be disabled by the -<link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body"/> +<link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body"> +proxy_pass_request_body off</link> and -<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body"/> +<link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body"> +fastcgi_pass_request_body off</link> directives, respectively. </para> </tag-desc> @@ -2613,7 +2622,7 @@ <tag-name><var>$request_filename</var></tag-name> <tag-desc> file path for the current query, based on the -<link id="root"/> and <link id="alias"/> +<link id="root"/> or <link id="alias"/> directives, and the request URI </tag-desc> @@ -2644,7 +2653,7 @@ <para> Computing a value of this variable usually requires one system call. To avoid a system call, the <link id="listen"/> directives -must specify addresses and use the <parameter>bind</parameter> parameter +must specify addresses and use the <parameter>bind</parameter> parameter. </para> </tag-desc>