mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-23 13:04:22 +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/;
|
||||
|
||||
Reference in New Issue
Block a user