mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Adding LE_STAGING to v-add-letsencrypt-user
This commit is contained in:
parent
a18ee316a2
commit
1056cd624b
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ user=$1
|
||||||
# LE API
|
# LE API
|
||||||
API='https://acme-v02.api.letsencrypt.org'
|
API='https://acme-v02.api.letsencrypt.org'
|
||||||
|
|
||||||
|
if [[ "$LE_STAGING" = 'yes' ]]; then
|
||||||
|
API='https://acme-staging-v02.api.letsencrypt.org'
|
||||||
|
fi
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/func/main.sh
|
source $VESTA/func/main.sh
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue