Skip to content

Commit d1707ab

Browse files
committed
Merge branch 'cf-access-host' into 'master'
fix(ui): specify access host if a TLS certificate has been issued See merge request postgres-ai/database-lab!620
2 parents b41ea06 + ad5cab6 commit d1707ab

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)