Nginx http模块(十)
来源:百度文库 编辑:神马文学网 时间:2024/04/26 06:51:36
Types
语法:types {。。。}
context:http,server,location
指定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;
}
Nginx http模块(十)
Nginx http模块(十)
Nginx http模块(四)
Nginx http模块(五)
Nginx http模块(七)
Nginx http模块(八)
Nginx http模块(九)
Nginx http模块(十一)
Nginx http模块(七)
Nginx http 模块
Nginx主模块(二)
Nginx主模块(三)
HTTP模块(一)
用Nginx的gzip模块提升网站访问效率
养生十大模块
链接模块(滚动模块)
Nginxhttp模块(三)
精品模块(三)
精品模块(八)
工具书(首页模块)
中国古书籍(模块)
首页模块(2)
首页模块(1)
Nginx是什么?Nginx介绍 - Licess's Blog