1
0

Expose CLightning-Rest to BTCPay and external use (#258)

* Expose CLightning-Rest to BTCPay and external use

This should allow Zeus wallet to use clightning

* fix redirect rule
This commit is contained in:
Andrew Camilleri
2020-01-22 10:49:59 +01:00
committed by Nicolas Dorier
parent eb181b57cc
commit a5da75901f
2 changed files with 8 additions and 0 deletions

View File

@@ -56,6 +56,12 @@
{{ if (eq $serviceName "clightning_bitcoin_charge") }}
location /lightning-charge/btc/ {
proxy_pass http://clightning_bitcoin_charge:9112/;
}
{{ end }}
{{ if (eq $serviceName "clightning_bitcoin_rest") }}
location /clightning-rest/btc/ {
rewrite ^/clightning-rest/btc/(.*) /$1 break;
proxy_pass http://clightning_bitcoin_rest:3001/;
}
{{ end }}
{{ if (eq $serviceName "clightning_groestlcoin_spark") }}