1
0

Update NBXplorer, add documentation about BTCPAY_PROTOCOL for local testing

This commit is contained in:
nicolas.dorier
2018-03-21 15:05:27 +09:00
parent 378746380c
commit a3e84542fb
14 changed files with 30 additions and 27 deletions

View File

@@ -11,7 +11,10 @@ The relevant environment variables are:
* `NBITCOIN_NETWORK`: the blockchain identifier used by NBitcoin (eg., `regtest`, `testnet`, `mainnet`)
* `BTCPAY_HOST`: the external url used to access your server from internet. This domain name must point to this machine.
* `BTCPAY_PROTOCOL`: the protocol used to access this website from the internet (valid values: `http` and `https`, default: `https`)
The port `80` is exposed.
** Note that in order to successfully use the BTCPay API, you must still access to it from an HTTPS url `https://BTCPAY_HOST/`. **
Note that you need to set `BTCPAY_PROTOCOL=http` if you want to do some tests locally without https.
If you forget, you will get an error HTTP 400 when trying to register a new account on the website.