comparison docs/html/http/ngx_http_core_module.html @ 4071:cf09c4826ab3

Regenerate after previous commit.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 05 Sep 2011 09:58:31 +0000
parents 4dbdfd985863
children a1e1b348bfaf
comparison
equal deleted inserted replaced
4070:d0d832a3b1df 4071:cf09c4826ab3
1146 fastcgi_pass ...; 1146 fastcgi_pass ...;
1147 1147
1148 fastcgi_param SCRIPT_FILENAME /path/to/index.php; 1148 fastcgi_param SCRIPT_FILENAME /path/to/index.php;
1149 ... other fastcgi_param's 1149 ... other fastcgi_param's
1150 } 1150 }
1151 </pre></blockquote></p></body></html> 1151 </pre></blockquote></p><hr><a name="types"></a><strong>syntax</strong>:
1152 <code>types { ... }</code><br><strong>default</strong>:
1153 <code>see below</code><br><strong>context</strong>:
1154 <code>http</code>, <code>server</code>, <code>location</code><br><p>
1155 Maps file name extensions to MIME types of responses.
1156 Several extensions can map to one type.
1157 The following mappings are configured by default:
1158 <blockquote><pre>
1159 types {
1160 text/html html;
1161 image/gif gif;
1162 image/jpeg jpg;
1163 }
1164 </pre></blockquote></p><p>
1165 A sufficiently full mapping table is distributed with nginx in the
1166 <code>conf/mime.types</code> file.
1167 </p><p>
1168 To make a particular location emit the "<code>application/octet-stream</code>"
1169 MIME type for all requests, try the following:
1170 <blockquote><pre>
1171 location /download/ {
1172 types { }
1173 default_type application/octet-stream;
1174 }
1175 </pre></blockquote></p><hr><a name="underscores_in_headers"></a><strong>syntax</strong>:
1176 <code>underscores_in_headers <code>on</code> | <code>off</code></code><br><strong>default</strong>:
1177 <code>underscores_in_headers off</code><br><strong>context</strong>:
1178 <code>http</code>, <code>server</code><br><p>
1179 Enables or disables the use of underscores in client request header strings.
1180 </p></body></html>