Skip to content

Commit ad5cab6

Browse files
committed
fix(ui): specify access host if a TLS certificate has been issued
1 parent 56ac559 commit ad5cab6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloudformation/dle_cf_template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ Resources:
354354
export DOMAIN=${CertificateSubdomain}.${CertificateHostedZone}
355355
export USER_EMAIL=${CertificateEmail}
356356
export CERTIFICATE_EMAIL=${!USER_EMAIL:-'noreply@'$DOMAIN}
357+
358+
yq e -i '.cloning.accessHost="$DOMAIN"' $dle_config_path/server.yml
357359

358360
sudo certbot certonly --standalone -d $DOMAIN -m $CERTIFICATE_EMAIL --agree-tos -n
359361
sudo cp /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/envoy/certs/fullchain1.pem

0 commit comments

Comments
 (0)