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的配置
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:nginx暴露目录文件 - Python技术站