location /apk_download { alias /usr/share/nginx/html/; include mime.types; default_type application/octet-stream; autoindex on; autoindex_exact_size off; autoindex_localtime on;
charset utf-8,gbk;
}

以上为openresty的配置