[root@ conf]# pwd
/alidata/server/nginx/conf
[root@ conf]# vi mime.typesapplication/vnd.android.package-archive apk; #增加加这一条
位置大概:
application/x-redhat-package-manager rpm;application/x-sea sea;application/x-shockwave-flash swf;application/x-stuffit sit;application/x-tcl tcl tk;application/x-x509-ca-cert der pem crt;application/x-xpinstall xpi;application/xhtml+xml xhtml;application/zip zip;application/vnd.android.package-archive apk;
[root@ conf]# service nginx reload
Reloading nginx!