diff --git a/cmd/server/main.go b/cmd/server/main.go index 1600f41..6b7ad50 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -90,7 +90,7 @@ type Options struct { } func main() { - var version = "0.1.1" // set version number + var version = "0.1.2" // set version number opts := &Options{} flag.StringVar(&opts.bindAddr, "bind-addr", "127.0.0.1:9067", "the address to listen on") @@ -104,7 +104,7 @@ func main() { // creating --version as a requirement of help2man if len(os.Args) > 1 && (os.Args[1] == "--version" || os.Args[1] == "-v") { - fmt.Printf("Hush lightwalletd version " + version + "\n") + fmt.Printf("Hush lightwalletd version %s\n", version) os.Exit(0) } diff --git a/doc/examples/README.md b/doc/examples/README.md index b8ca9ee..d8e6aa6 100644 --- a/doc/examples/README.md +++ b/doc/examples/README.md @@ -12,7 +12,19 @@ The [Hush Lightwalletd](https://git.hush.is/hush/lightwalletd/) can be configure ## With Nginx For Nginx specifics, refer to the [lightwalletd README](https://git.hush.is/hush/lightwalletd/src/branch/master/README.md) to setup your SSL cert config. -Then you can use this [example shell script](run_lightwalletd_nginx.sh) to run lightwalletd with an nginx reverse proxy frontend. In the script you have to change the hostname and username before running it. +1. Then you configure nginx for for a regular website & then run certbot to generate certs. + +1. Then use a block like this in your nginx config under the port 443 section: + +``` +location / { + # Replace localhost:9067 with the address and port of your gRPC server if using a custom port + grpc_pass grpc://127.0.0.1:9067; +} +``` + +1. Then you can use this [example shell script](run_lightwalletd_nginx.sh) to run lightwalletd with an nginx reverse proxy frontend. In the script you have to change the hostname and username before running it. + ## No Web Here we run lightwalletd without any web servers (no nginx) and as a stand-alone service managing the SSL cert config internally. Use this [example shell script](run_lightwalletd_no-web.sh) to run lightwalletd stand-alone. diff --git a/doc/man/lightwalletd.1 b/doc/man/lightwalletd.1 index a54a3c9..e8a89a9 100644 --- a/doc/man/lightwalletd.1 +++ b/doc/man/lightwalletd.1 @@ -1,6 +1,6 @@ -.TH LIGHTWALLET "1" "October 2021" "lightwalletd v0.1.1" "User Commands" +.TH LIGHTWALLET "1" "October 2022" "lightwalletd v0.1.2" "User Commands" .SH NAME -lightwalletd \- manual page for hush lightwalletd v0.1.1 +lightwalletd \- manual page for hush lightwalletd v0.1.2 .SH DESCRIPTION .B lightwalletd runs a lightwallet daemon for a Hush Silent Dragon Lite node. @@ -59,7 +59,7 @@ the path to a TLS key file (optional) In order to ensure you are adequately protecting your privacy when using Hush, please see . -Copyright (C) 2021 Jahway603 and The Hush Developers +Copyright (C) 2016-2022 Jahway603 and The Hush Developers This is experimental Free Software! Fuck Yeah!!!!!