diff --git a/docs/xml/http/ngx_http_core_module.xml b/docs/xml/http/ngx_http_core_module.xml index 1d10bec6d..8e193dcb8 100644 --- a/docs/xml/http/ngx_http_core_module.xml +++ b/docs/xml/http/ngx_http_core_module.xml @@ -1885,6 +1885,58 @@ location @wordpress { + + +types { ... } +see below +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; +} + + + + + + + +underscores_in_headers on | off +underscores_in_headers off +http +server + + +Enables or disables the use of underscores in client request header strings. + + + +