Adding LE_STAGING to v-add-letsencrypt-user

This commit is contained in:
myvesta 2023-04-06 10:00:57 +02:00 committed by GitHub
commit 1056cd624b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,10 @@ user=$1
# LE API
API='https://acme-v02.api.letsencrypt.org'
if [[ "$LE_STAGING" = 'yes' ]]; then
API='https://acme-staging-v02.api.letsencrypt.org'
fi
# Includes
source $VESTA/func/main.sh
source $VESTA/conf/vesta.conf