Populate LETSENCRYPT_HOST for 'self' correctly

This commit is contained in:
Tom Wiesing 2021-12-02 12:36:35 +01:00
parent 32f9876307
commit 791fea4899
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15

View file

@ -74,7 +74,7 @@ install_resource_dir "compose/ssh" "$DEPLOY_SSH_DIR"
# setup the lesencrypt host for the default domain
if [ -n "$LETSENCRYPT_HOST" ]; then
LETSENCRYPT_HOST="$DEFAULT_DOMAIN"
LETSENCRYPT_HOST="$SELF_DOMAIN_SPEC"
fi;
log_info " => Writing 'self' configuration file"