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/;