update_prefix_config: Use https when enabled

This commit updates the 'update_prefix_config.sh' script to use an
'https://' as opposed to an 'http://' url when support is enabled.
This commit is contained in:
Tom Wiesing 2022-08-03 18:27:25 +02:00
parent 5170cc5dda
commit 1d1f61e6b4
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View file

@ -15,7 +15,7 @@ date | tee -a "$DEPLOY_PREFIX_CONFIG"
# update all the instances
for slug in $(sql_bookkeep_list); do
INSTANCE_DOMAIN="http://$(compute_instance_domain "$slug")"
INSTANCE_DOMAIN="$(compute_instance_url "$slug")"
echo "$INSTANCE_DOMAIN:" | tee -a "$DEPLOY_PREFIX_CONFIG"
read -r INSTANCE_BASE_DIR MYSQL_DATABASE MYSQL_USER GRAPHDB_REPO GRAPHDB_USER GRAPHDB_PASSWORD <<< "$(sql_bookkeep_load "${slug}" "filesystem_base,sql_database,sql_user,graphdb_repository,graphdb_user,graphdb_password" | tail -n +2)"