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:
committed by
Nicolas Dorier
parent
eb181b57cc
commit
a5da75901f
@@ -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") }}
|
||||
|
||||
Reference in New Issue
Block a user