comparison xml/en/docs/http/ngx_http_core_module.xml @ 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
comparison
equal deleted inserted replaced
159:8c124aef0041 160:0b65e87daa8a
2056 <context>server</context> 2056 <context>server</context>
2057 <context>location</context> 2057 <context>location</context>
2058 2058
2059 <para> 2059 <para>
2060 Maps file name extensions to MIME types of responses. 2060 Maps file name extensions to MIME types of responses.
2061 Several extensions can map to one type. 2061 Extensions are case-insensitive.
2062 Several extensions can map to one type, for example:
2063 <example>
2064 types {
2065 application/octet-stream bin exe dll;
2066 application/octet-stream deb;
2067 application/octet-stream dmg;
2068 }
2069 </example>
2062 </para> 2070 </para>
2063 2071
2064 <para> 2072 <para>
2065 A sufficiently full mapping table is distributed with nginx in the 2073 A sufficiently full mapping table is distributed with nginx in the
2066 <path>conf/mime.types</path> file. 2074 <path>conf/mime.types</path> file.