Skip to content

Commit

Permalink
Add enforce_https to integ config
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jan 8, 2024
1 parent 943efbc commit 0b46532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gcp-oidc/conf/integ-uid2-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"optout_metadata_path": "https://optout-integ.uidapi.com/optout/refresh",
"core_attest_url": "https://core-integ.uidapi.com/attest",
"optout_api_uri": "https://optout-integ.uidapi.com/optout/replicate",
"optout_s3_folder": "uid-optout-integ/"
"optout_s3_folder": "uid-optout-integ/",
"enforce_https": true
}
2 changes: 2 additions & 0 deletions scripts/gcp-oidc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ if [ $? -ne 0 ]; then
exit 1
fi

cat $FINAL_CONFIG

# -- replace base URLs if both CORE_BASE_URL and OPTOUT_BASE_URL are provided
# -- using hardcoded domains is fine because they should not be changed frequently
if [ -n "${CORE_BASE_URL}" -a -n "${OPTOUT_BASE_URL}" -a "${DEPLOYMENT_ENVIRONMENT}" != 'prod' ]; then
Expand Down

0 comments on commit 0b46532

Please sign in to comment.