更新 vpn/setup_server_ssl.sh

This commit is contained in:
Randall 2024-12-31 05:39:15 +00:00
parent 00d592ae70
commit 61f2259ede

View File

@ -33,9 +33,9 @@ export CF_Email="$CF_Email"
# 设置acme并申请证书
~/.acme.sh/acme.sh --upgrade --auto-upgrade
~/.acme.sh/acme.sh --set-default-ca --server letsencrypt
~/.acme.sh/acme.sh --issue -d "$DONAMEFRONT.$DONAMEEND" -d "$DONAMEFRONT-cdn.$DONAMEEND" -d "$DONAMEFRONT-proxy.$DONAMEEND" --dns dns_cf --dnssleep
~/.acme.sh/acme.sh --issue -d "$DONAMEFRONT.$DONAMEEND" -d "zz.1080emby.pl" --dns dns_cf --dnssleep
~/.acme.sh/acme.sh --installcert -d $(hostname) --key-file /etc/V2bX/cert.key --fullchain-file /etc/V2bX/fullchain.cer --reloadcmd "v2bx restart"
~/.acme.sh/acme.sh --installcert -d "$DONAMEFRONT.$DONAMEEND" --key-file /etc/V2bX/cert.key --fullchain-file /etc/V2bX/fullchain.cer --reloadcmd "v2bx restart"
echo "Setup complete for $DONAMEFRONT.$DONAMEEND"