修复:从官方源安装 Certbot
This commit is contained in:
parent
29e4b31294
commit
383d32795d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user