Spark Wallet integration, first pass

This commit is contained in:
kexkey
2019-01-16 20:37:22 -05:00
committed by kexkey
parent d89abfe155
commit 6ee834d944
10 changed files with 133 additions and 16 deletions

View File

@@ -14,6 +14,22 @@ server {
index statuspage.html;
}
location /sparkwallet/ {
auth_basic "sparkwallet";
auth_basic_user_file conf.d/status/htpasswd;
proxy_set_header Host $host;
proxy_set_header Referer $http_referer;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Authorization "Basic Y3lwaGVybm9kZTpzcGFya3dhbGxldA==";
proxy_pass http://sparkwallet:9737/;
}
location /v0/ {
auth_request /auth;
proxy_pass http://proxy:8888/;

View File

@@ -48,6 +48,7 @@
<ul>
<li><a href="config.7z">Download your Cyphernode <b>configurations</b>, can be used for another Cyphernode deployment</a></li>
<li><a href="client.7z">Download Client <b>API ID's and keys</b>, needed in your client apps</a></li>
<li><a href="/sparkwallet">Your Lightning Network Wallet (Spark Wallet)</a></li>
</ul>
</div>
<div id="Status">