mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-03 21:15:29 +01:00
nginx now starts even if sparkwallet host not found
This commit is contained in:
@@ -13,7 +13,9 @@ location /sparkwallet/ {
|
||||
# Hardcoding sparkwallet password, it's only accessible from here anyway using htpasswd above
|
||||
proxy_set_header Authorization "Basic Y3lwaGVybm9kZTpzcGFya3dhbGxldA==";
|
||||
|
||||
set $proxyurl http://sparkwallet:9737/;
|
||||
proxy_pass $proxyurl;
|
||||
# https://cyphernode:2009/sparkwallet/hello -> http://sparkwallet:9737/hello
|
||||
rewrite ^/sparkwallet(/.*) $1 break;
|
||||
resolver 127.0.0.11;
|
||||
proxy_pass http://sparkwallet:9737$uri;
|
||||
}
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user