fix: proxy all lnrpc grpc interfaces (#165)
This commit is contained in:
committed by
Nicolas Dorier
parent
a9d61bc37c
commit
53ff474671
@@ -26,7 +26,7 @@
|
|||||||
{{ range $container := $.Containers }}
|
{{ range $container := $.Containers }}
|
||||||
{{ $serviceName := (index $container.Labels "com.docker.compose.service") }}
|
{{ $serviceName := (index $container.Labels "com.docker.compose.service") }}
|
||||||
{{ if (eq $serviceName "lnd_bitcoin") }}
|
{{ if (eq $serviceName "lnd_bitcoin") }}
|
||||||
location /lnrpc.Lightning {
|
location /lnrpc {
|
||||||
grpc_pass grpcs://lnd_bitcoin:10009;
|
grpc_pass grpcs://lnd_bitcoin:10009;
|
||||||
}
|
}
|
||||||
location /lnd-rest/btc/ {
|
location /lnd-rest/btc/ {
|
||||||
@@ -455,4 +455,4 @@ server {
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user