diff options
author | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-03-31 08:59:25 +0200 |
---|---|---|
committer | Javier Sepulveda <javier.sepulveda@uv.es> | 2023-03-31 08:59:25 +0200 |
commit | 063cddee0899e821c78d90b1fde17837046c5fae (patch) | |
tree | c0b09725885d8a6379cfd86af5f6a6e5396fbbdb | |
parent | eb247809049e8742f906dab230e4b869dd904ef8 (diff) | |
download | deployment-063cddee0899e821c78d90b1fde17837046c5fae.tar.gz deployment-063cddee0899e821c78d90b1fde17837046c5fae.tar.bz2 deployment-063cddee0899e821c78d90b1fde17837046c5fae.zip |
Fix: Increase TTL sandbox and Nexus + Remove certbot base domain
-rwxr-xr-x | netzbon/config_launch_libeufin.sh | 8 | ||||
-rwxr-xr-x | netzbon/config_nginx.sh | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh index e12e531..2cb6e61 100755 --- a/netzbon/config_launch_libeufin.sh +++ b/netzbon/config_launch_libeufin.sh @@ -120,9 +120,9 @@ systemctl enable --now libeufin-sandbox say "DONE" say "Waiting for sandbox..." -curl --max-time 2 \ +curl --max-time 25 \ --retry-connrefused \ - --retry-delay 1 \ + --retry-delay 3 \ --retry 10 \ ${SANDBOX_URL} &> /dev/null say "DONE" @@ -139,9 +139,9 @@ systemctl enable --now libeufin-nexus say "DONE" say "Waiting for Nexus..." -curl --max-time 2 \ +curl --max-time 25 \ --retry-connrefused \ - --retry-delay 1 \ + --retry-delay 3 \ --retry 10 \ ${LIBEUFIN_NEXUS_URL} &> /dev/null say "DONE" diff --git a/netzbon/config_nginx.sh b/netzbon/config_nginx.sh index bf85f96..3ba8db3 100755 --- a/netzbon/config_nginx.sh +++ b/netzbon/config_nginx.sh @@ -19,8 +19,7 @@ sed -i "s/http:\/\/bank./https:\/\/bank./g" /etc/libeufin/demobank-ui-settings.j say "Obtaining TLS certificates" - certbot -d ${DOMAIN_NAME} \ - -d backend.${DOMAIN_NAME} \ + certbot -d backend.${DOMAIN_NAME} \ -d bank.${DOMAIN_NAME} \ -d exchange.${DOMAIN_NAME} fi |