Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions files/nginx/client-config.json.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"centralVersion": "$CENTRAL_VERSION",
"oidcEnabled": $OIDC_ENABLED
}
2 changes: 2 additions & 0 deletions files/nginx/setup-odk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if [[ $OIDC_ENABLED != 'true' ]] && [[ $OIDC_ENABLED != 'false' ]]; then
exit 1
fi

CENTRAL_VERSION=$(cat /usr/share/nginx/html/version.txt)
export CENTRAL_VERSION
envsubst < /usr/share/odk/nginx/client-config.json.template > /usr/share/nginx/html/client-config.json

# Generate self-signed keys for the incorrect (catch-all) HTTPS listener. This
Expand Down
Loading