From 0c36df13209c7b3ed68e6a218e6e06e82e33c25e Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 11 Sep 2019 08:15:50 +0100 Subject: [PATCH] custom URL fixes --- BTCPayServer/BTCPayServer_on_the_RaspiBlitz.md | 6 ++---- BTCPayServer/btcpay_to_blitz.sh | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/BTCPayServer/BTCPayServer_on_the_RaspiBlitz.md b/BTCPayServer/BTCPayServer_on_the_RaspiBlitz.md index 9266f1e..9df4cd1 100644 --- a/BTCPayServer/BTCPayServer_on_the_RaspiBlitz.md +++ b/BTCPayServer/BTCPayServer_on_the_RaspiBlitz.md @@ -176,8 +176,7 @@ The username is raspibolt and the password is what you set while installing rasp sudo ufw allow 80 sudo ufw allow 443 ``` -* Get your SSL certification using certbot -* Change btcpay.example.com +* Get your SSL certification using certbot. Change `btcpay.example.com ` `sudo certbot certonly --authenticator standalone -d btcpay.example.com --pre-hook "service nginx stop" --post-hook "service nginx start"` * add reverse proxy for btcpayserver @@ -188,8 +187,7 @@ The username is raspibolt and the password is what you set while installing rasp * create the btcpayserver configuration `sudo nano /etc/nginx/sites-available/btcpayserver` -* Paste the following, make sure you change the domain name to yours -* Change all 4x `btcpay.example.com` +* Paste the following, make sure you change the domain name to yours. Change all 4x `btcpay.example.com` ``` ## start of Nginx config diff --git a/BTCPayServer/btcpay_to_blitz.sh b/BTCPayServer/btcpay_to_blitz.sh index 441a62e..9fcc4c7 100644 --- a/BTCPayServer/btcpay_to_blitz.sh +++ b/BTCPayServer/btcpay_to_blitz.sh @@ -138,7 +138,7 @@ network=mainnet ### Server settings ### port=23000 bind=127.0.0.1 -externalurl=https://btcpay.example.com +externalurl=https://$YOUR_DOMAIN ### NBXplorer settings ### BTC.explorer.url=http://127.0.0.1:24444/