Exposing LND Rest

This commit is contained in:
rockstardev 2018-10-25 21:14:28 -05:00
parent c6caa6a8ce
commit 8a51da92ad

View File

@ -304,6 +304,10 @@ server {
location /lnrpc.Lightning {
grpc_pass grpcs://lnd_bitcoin:10009;
}
location /lnd-rest/btc/ {
rewrite ^/lnd-rest/btc/(.*) /$1 break;
proxy_pass http://lnd_bitcoin:8080/;
}
{{ end }}
{{ end }}
}