changeset 160:0b65e87daa8a

Documented that filename extensions that map to MIME types are case-insensitive. Provided an example of how to map several extensions to one type.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 31 Oct 2011 09:36:17 +0000
parents 8c124aef0041
children ec980064d576
files xml/en/docs/http/ngx_http_core_module.xml
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Mon Oct 31 08:33:36 2011 +0000
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Mon Oct 31 09:36:17 2011 +0000
@@ -2058,7 +2058,15 @@
 
 <para>
 Maps file name extensions to MIME types of responses.
-Several extensions can map to one type.
+Extensions are case-insensitive.
+Several extensions can map to one type, for example:
+<example>
+types {
+    application/octet-stream bin exe dll;
+    application/octet-stream deb;
+    application/octet-stream dmg;
+}
+</example>
 </para>
 
 <para>