mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-28 20:32:30 +02:00
Revert "Revert "btcpay-update must update old ACME URI""
This reverts commit 1d33642f7b
.
This commit is contained in:
parent
1d33642f7b
commit
627fa3b629
@ -51,6 +51,18 @@ if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "$BASH_PROFILE_SCRIPT"; the
|
|||||||
echo "Adding COMPOSE_HTTP_TIMEOUT=180 in btcpay-env.sh"
|
echo "Adding COMPOSE_HTTP_TIMEOUT=180 in btcpay-env.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$ACME_CA_URI" == "https://acme-v01.api.letsencrypt.org/directory" ]]; then
|
||||||
|
original_acme="$ACME_CA_URI"
|
||||||
|
export ACME_CA_URI="proudction"
|
||||||
|
echo "Info: Rewriting ACME_CA_URI from $original_acme to $ACME_CA_URI"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$ACME_CA_URI" == "https://acme-staging.api.letsencrypt.org/directory" ]]; then
|
||||||
|
original_acme="$ACME_CA_URI"
|
||||||
|
export ACME_CA_URI="staging"
|
||||||
|
echo "Info: Rewriting ACME_CA_URI from $original_acme to $ACME_CA_URI"
|
||||||
|
fi
|
||||||
|
|
||||||
. helpers.sh
|
. helpers.sh
|
||||||
install_tooling
|
install_tooling
|
||||||
btcpay_update_docker_env
|
btcpay_update_docker_env
|
||||||
|
Loading…
Reference in New Issue
Block a user