Types 语法:types {。。。} 指定answer的扩展类型和MIME-Type之间的对应。对一个MIME-type可以与多个expansions进行对应。 默认使用的对应: Types { Text/html html; Image/gif gif; Image/jpeg jpeg; } 完善的映射表包含在conf/mime.types文件里 So that for that determined location's for all answers would reveal MIME- type "application/octet-stream", it is possible to use the following: 对所有应答会展示的MIME-types“application/ocet-stream”,会使用 Location /download/ { Types {} Default_type application/ocet-stream; } |
|