mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-20 05:14:19 +01:00
custom URL fixes
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user