Mention ssl in deployment docs.

This commit is contained in:
jholdstock 2020-06-09 11:18:38 +01:00 committed by David Hill
parent 83514385d6
commit 10258f9c29
2 changed files with 9 additions and 8 deletions

View File

@ -20,7 +20,7 @@ import (
) )
var ( var (
defaultListen = ":3000" defaultListen = ":8800"
defaultLogLevel = "debug" defaultLogLevel = "debug"
defaultVSPFee = 3.0 defaultVSPFee = 3.0
defaultNetwork = "testnet" defaultNetwork = "testnet"

View File

@ -34,9 +34,9 @@ instance of dcrwallet over RPC.
## Front-end Server ## Front-end Server
The front-end server is where vspd will be running. The port vspd is listening The front-end server is where vspd will be running. A webserver (eg. nginx)
on (default `3000`) should be available for clients to reach over the internet. should be configured with SSL and used to proxy requests from the internet to
This port is used for both the API, and for serving the HTML front end. vspd.
1. Start an instance of dcrd on this server with transaction index enabled 1. Start an instance of dcrd on this server with transaction index enabled
(`--txindex`). dcrd is used for fishing ticket details out of the chain, for (`--txindex`). dcrd is used for fishing ticket details out of the chain, for
@ -65,13 +65,14 @@ dcrstakepool deployment.
- On the voting servers... - On the voting servers...
- The existing dcrd instance requires no changes. - The existing dcrd instance requires no changes.
- Create a new instance of dcrwallet listening for RPC connections on a - Create a new instance of dcrwallet listening for RPC connections on a
different port. Ensure wallet is unlocked and voting is enabled different port. Ensure the new wallet is unlocked and voting is enabled
(dcrstakepool wallet should have voting disabled). (dcrstakepool wallet should still have voting disabled).
- On the front-end server... - On the front-end server...
- Run an instance of dcrd with txindex enabled. - Run an instance of dcrd with txindex enabled.
- Run the vspd binary and ensure the listening port can be reached over the - Run the vspd binary
internet. Configure vspd to use the newly created dcrwallet instances. - Configure webserver to proxy requests from the internet to vspd.
- Configure vspd to use the newly created dcrwallet instances.
## Monitoring ## Monitoring