# HG changeset patch # User Ruslan Ermilov # Date 1315216711 0 # Node ID cf09c4826ab367d53d668f91e8854db1104abf4f # Parent d0d832a3b1df1d551b6f661e671a1de86d8de210 Regenerate after previous commit. diff --git a/docs/html/http/ngx_http_core_module.html b/docs/html/http/ngx_http_core_module.html --- a/docs/html/http/ngx_http_core_module.html +++ b/docs/html/http/ngx_http_core_module.html @@ -1148,4 +1148,33 @@ location @wordpress { fastcgi_param SCRIPT_FILENAME /path/to/index.php; ... other fastcgi_param's } -

+


syntax: + types { ... }
default: + see below
context: + http, server, location

+Maps file name extensions to MIME types of responses. +Several extensions can map to one type. +The following mappings are configured by default: +

+types {
+    text/html    html;
+    image/gif    gif;
+    image/jpeg   jpg;
+}
+

+A sufficiently full mapping table is distributed with nginx in the +conf/mime.types file. +

+To make a particular location emit the "application/octet-stream" +MIME type for all requests, try the following: +

+location /download/ {
+    types         { }
+    default_type  application/octet-stream;
+}
+


syntax: + underscores_in_headers on | off
default: + underscores_in_headers off
context: + http, server

+Enables or disables the use of underscores in client request header strings. +