diff --git a/README.md b/README.md index e988ca6..09ca031 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,10 @@ server { ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { - # Replace localhost:9067 with the address and port of your gRPC server if using a custom port - # Hush Smart Chains should use a different port than 9067 so it doesn't conflict with HUSH lightwalletd - grpc_pass grpc://your_host.net:9067; + # Replace 9067 with the port of your gRPC server if using a custom port + # Hush Smart Chains should use a different port than 9067 so it doesn't conflict with HUSH lightwalletd + # NOTE: it's only safe to use --no-tls on lightwalletd if this is on localhost + grpc_pass grpc://localhost:9067; } } ``` @@ -88,7 +89,7 @@ server { Then run the lightwalletd frontend with the following (Note: we use the "-no-tls" option as we are using NGINX as a reverse proxy and letting it handle the TLS authentication for us instead): ``` -./lightwalletd -bind-addr your_host.net:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls +./lightwalletd -bind-addr localhost:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls ``` ##### Option B: "Let's Encrypt" certificate just using lightwalletd without NGINX diff --git a/start.sh b/start.sh index ef85a9d..b31f89d 100755 --- a/start.sh +++ b/start.sh @@ -1,12 +1,12 @@ #!/bin/bash -# Copyright 2020-2021 The Hush Developers +# Copyright 2020-2022 The Hush Developers # Released under GPLv3 # Description: This script would be used with a NGINX reverse proxy # you can choose either IPv4 or IPv6 # using ipv4 localhost -#./lightwalletd -bind-addr localhost:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -no-tls +#./lightwalletd -bind-addr localhost:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls # using ipv6 localhost -./lightwalletd -bind-addr ip6-localhost:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -no-tls +./lightwalletd -bind-addr ip6-localhost:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls