问题描述: - 虽然显示"使用Gitee镜像加速" - 但acme.sh安装脚本内部仍从GitHub下载tar.gz包 - 导致国内网络安装失败 根本原因: - 使用了 --install-online 参数 - acme.sh脚本会在线下载master.tar.gz - 默认还是从GitHub下载 修复方案: - 使用acme.sh官方推荐的方法 - 设置环境变量 ACME_USE_GITEE=1 - 让acme.sh内部也使用Gitee源 - 移除 --install-online 参数 官方文档: https://github.com/acmesh-official/acme.sh/wiki/Install-in-China 修复代码: # 国内网络 export ACME_USE_GITEE=1 curl https://gitee.com/neilpang/acme.sh/raw/master/acme.sh | sh 修复函数: - deploy_acme_letsencrypt - deploy_acme_zerossl - deploy_acme_buypass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
101 KiB
101 KiB