custom URL fixes

This commit is contained in:
openoms
2019-09-11 08:15:50 +01:00
parent 58511930f1
commit 0c36df1320
2 changed files with 3 additions and 5 deletions

View File

@@ -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 80
sudo ufw allow 443 sudo ufw allow 443
``` ```
* Get your SSL certification using certbot * Get your SSL certification using certbot. Change `btcpay.example.com `
* Change btcpay.example.com
`sudo certbot certonly --authenticator standalone -d btcpay.example.com --pre-hook "service nginx stop" --post-hook "service nginx start"` `sudo certbot certonly --authenticator standalone -d btcpay.example.com --pre-hook "service nginx stop" --post-hook "service nginx start"`
* add reverse proxy for btcpayserver * 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 * create the btcpayserver configuration
`sudo nano /etc/nginx/sites-available/btcpayserver` `sudo nano /etc/nginx/sites-available/btcpayserver`
* Paste the following, make sure you change the domain name to yours * Paste the following, make sure you change the domain name to yours. Change all 4x `btcpay.example.com`
* Change all 4x `btcpay.example.com`
``` ```
## start of Nginx config ## start of Nginx config

View File

@@ -138,7 +138,7 @@ network=mainnet
### Server settings ### ### Server settings ###
port=23000 port=23000
bind=127.0.0.1 bind=127.0.0.1
externalurl=https://btcpay.example.com externalurl=https://$YOUR_DOMAIN
### NBXplorer settings ### ### NBXplorer settings ###
BTC.explorer.url=http://127.0.0.1:24444/ BTC.explorer.url=http://127.0.0.1:24444/