From 2924514335da8a6ccb1203a4ac303d1027cb3020 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 12 Jun 2019 15:54:39 +0900 Subject: [PATCH] Save REVERSEPROXY_DEFAULT_HOST= --- btcpay-setup.sh | 2 ++ helpers.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index c5b7fe1..1b44966 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -107,6 +107,7 @@ fi : "${BTCPAYGEN_CRYPTO1:=btc}" : "${BTCPAYGEN_REVERSEPROXY:=nginx}" : "${BTCPAYGEN_LIGHTNING:=none}" +: "${REVERSEPROXY_DEFAULT_HOST:=none}" : "${ACME_CA_URI:=https://acme-v01.api.letsencrypt.org/directory}" : "${BTCPAY_PROTOCOL:=https}" @@ -158,6 +159,7 @@ echo " Parameters passed: BTCPAY_PROTOCOL:$BTCPAY_PROTOCOL BTCPAY_HOST:$BTCPAY_HOST +REVERSEPROXY_DEFAULT_HOST:$REVERSEPROXY_DEFAULT_HOST LIBREPATRON_HOST:$LIBREPATRON_HOST WOOCOMMERCE_HOST:$WOOCOMMERCE_HOST BTCTRANSMUTER_HOST:$BTCTRANSMUTER_HOST diff --git a/helpers.sh b/helpers.sh index 86baad6..80f3c22 100755 --- a/helpers.sh +++ b/helpers.sh @@ -71,6 +71,7 @@ echo " BTCPAY_PROTOCOL=$BTCPAY_PROTOCOL BTCPAY_HOST=$BTCPAY_HOST BTCPAY_ANNOUNCEABLE_HOST=$BTCPAY_ANNOUNCEABLE_HOST +REVERSEPROXY_DEFAULT_HOST=$REVERSEPROXY_DEFAULT_HOST BTCPAY_IMAGE=$BTCPAY_IMAGE ACME_CA_URI=$ACME_CA_URI NBITCOIN_NETWORK=$NBITCOIN_NETWORK