taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit ff02fb3cf755b5896c3e5851e83dc6e68eeb3fa0
parent 3ddd5a67c0ce513e0b6f71378e0eb57c57df3eea
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  7 Mar 2023 23:17:39 +0100

set proper protocol for exchange

Diffstat:
Mnetzbon/config_launch_libeufin.sh | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh @@ -170,7 +170,13 @@ echo "EXCHANGE_IBAN=\"${EXCHANGE_IBAN}\"" >> ${MY_DIR}/config/internal.conf echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO}\"" >> ${MY_DIR}/config/internal.conf say "Setting the default exchange at Sandbox..." -libeufin-sandbox default-exchange "https://exchange.$DOMAIN_NAME/" $EXCHANGE_PAYTO +if test ${ENABLE_TLS:-} == "y" +then + PROTO="https" +else + PROTO="http" +fi +libeufin-sandbox default-exchange "${PROTO}://exchange.$DOMAIN_NAME/" $EXCHANGE_PAYTO say "DONE" export LIBEUFIN_SANDBOX_USERNAME="admin"