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
2024-02-17 13:23:25
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