当前位置: > Linux服务器 > nginx >

nginx下各类型文件头信息

时间:2014-05-14 17:26来源:linux.it.net.cn 作者:it
nginx下conf/mime.types内各类型文件头信息:

application/vnd.adobe.apollo-install-package air;
application/vnd.android.package-archive apk;
application/iphone          pxl ipa;


text/vnd.sun.j2me.app-descriptor      jad;
application/java-archive              jar war ear;
application/x-java-archive-diff       jardiff;
application/vnd.android.package-archive apk;
application/vnd.ms-cab-compressed              cab;
application/octet-stream              bin exe dll;
application/vnd.symbian.install       sis;
x-epoc/x-sisx-app                     sisx;
application/iphone                    pxl ipa;
application/vnd.palm                  prc pdb;
application/vnd.webos.ipk             ipk;
application/vnd.rim.cod               cod;
application/mrp                       mrp;
x-nokia-widget                        wgz;
application/octet-stream              deb;

目前许多提供下载apk的地方,下载完后文件自动变成了zip后缀,导致无法使用,只要在nginx的conf/mime.typs内加上application/vnd.android.package-archive apk;

如果想支持.ipa下载 ,只要在nginx的conf/mime.typs内加上application/iphone          pxl ipa;

如果想支持.air下载,只要在nginx的conf/mime.typs内加上application/vnd.adobe.apollo-install-package air;



(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容