From 3541ab2d79105c5d3d7d19a117250aae268528a8 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 5 Sep 2011 09:58:31 +0000 Subject: [PATCH] Regenerate after previous commit. --- docs/html/http/ngx_http_core_module.html | 31 +++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/html/http/ngx_http_core_module.html b/docs/html/http/ngx_http_core_module.html index e0a68aa3f..164018bbe 100644 --- 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. +