From 383d32795d36ea38f5bc2c3a52ac7c31f43eece4 Mon Sep 17 00:00:00 2001 From: WuYongJie <549727955@qq.com> Date: Tue, 21 Jul 2026 18:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BB=8E=E5=AE=98?= =?UTF-8?q?=E6=96=B9=E6=BA=90=E5=AE=89=E8=A3=85=20Certbot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/setup-https.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deploy/setup-https.sh b/deploy/setup-https.sh index 7db96edd..b7ab1b02 100644 --- a/deploy/setup-https.sh +++ b/deploy/setup-https.sh @@ -35,7 +35,12 @@ systemctl enable --now nginx if [ ! -x "$CERTBOT_DIR/bin/certbot" ]; then python3 -m venv "$CERTBOT_DIR" - "$CERTBOT_DIR/bin/pip" install --disable-pip-version-check --no-cache-dir 'certbot==5.4.0' + "$CERTBOT_DIR/bin/pip" install \ + --disable-pip-version-check \ + --no-cache-dir \ + --timeout 180 \ + --index-url https://pypi.org/simple \ + 'certbot==5.4.0' fi "$CERTBOT_DIR/bin/certbot" --version