mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-17 20:55:04 +01:00
Spark Wallet integration, first pass
This commit is contained in:
@@ -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/;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user