From 10258f9c296bb4651e1f2caee7c7a2f1cec06674 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Tue, 9 Jun 2020 11:18:38 +0100 Subject: [PATCH] Mention ssl in deployment docs. --- config.go | 2 +- docs/deployment.md | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/config.go b/config.go index 190e8fd..0322ad1 100644 --- a/config.go +++ b/config.go @@ -20,7 +20,7 @@ import ( ) var ( - defaultListen = ":3000" + defaultListen = ":8800" defaultLogLevel = "debug" defaultVSPFee = 3.0 defaultNetwork = "testnet" diff --git a/docs/deployment.md b/docs/deployment.md index 819e8c6..7258790 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -34,9 +34,9 @@ instance of dcrwallet over RPC. ## Front-end Server -The front-end server is where vspd will be running. The port vspd is listening -on (default `3000`) should be available for clients to reach over the internet. -This port is used for both the API, and for serving the HTML front end. +The front-end server is where vspd will be running. A webserver (eg. nginx) +should be configured with SSL and used to proxy requests from the internet to +vspd. 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 @@ -65,13 +65,14 @@ dcrstakepool deployment. - On the voting servers... - The existing dcrd instance requires no changes. - Create a new instance of dcrwallet listening for RPC connections on a - different port. Ensure wallet is unlocked and voting is enabled - (dcrstakepool wallet should have voting disabled). + different port. Ensure the new wallet is unlocked and voting is enabled + (dcrstakepool wallet should still have voting disabled). - On the front-end server... - Run an instance of dcrd with txindex enabled. - - Run the vspd binary and ensure the listening port can be reached over the - internet. Configure vspd to use the newly created dcrwallet instances. + - Run the vspd binary + - Configure webserver to proxy requests from the internet to vspd. + - Configure vspd to use the newly created dcrwallet instances. ## Monitoring