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 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
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user