From 03d03158c32508b08aab228633886707b4da1825 Mon Sep 17 00:00:00 2001 From: kexkey Date: Sat, 30 Mar 2019 17:54:30 -0400 Subject: [PATCH] fixed: nginx won't start if sparkwallet not found --- .../app/templates/lightning/c-lightning/nginx-spark-conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/nginx-spark-conf b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/nginx-spark-conf index 7de9208..dd0c824 100644 --- a/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/nginx-spark-conf +++ b/install/generator-cyphernode/generators/app/templates/lightning/c-lightning/nginx-spark-conf @@ -13,6 +13,7 @@ location /sparkwallet/ { # Hardcoding sparkwallet password, it's only accessible from here anyway using htpasswd above proxy_set_header Authorization "Basic Y3lwaGVybm9kZTpzcGFya3dhbGxldA=="; - proxy_pass http://sparkwallet:9737/; + set $proxyurl http://sparkwallet:9737/; + proxy_pass $proxyurl; } <% } %>