部署apk到服务器上
作者:互联网
1.用rz命令上传apk
2.配置/etc/nginx/nginx.conf,可参考下面的配置
server{ listen 8888; server_name localhost; location ~*\.(apk)$ { root /opt/knowledge-contest; } }
3.重启nginx
4.用链接访问,如访问http://1.15.186.160:8999/app-armeabi-v7a-release.apk下载apk
标签:1.15,conf,访问,部署,server,apk,nginx,服务器 来源: https://www.cnblogs.com/luoyihao/p/14910866.html