updated nginx location for LND's GRPC API (#663)
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
This commit is contained in:
@@ -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 {
|
location ~* ^/(lnrpc|routerrpc)\. {
|
||||||
grpc_read_timeout 6000s;
|
grpc_read_timeout 6000s;
|
||||||
grpc_send_timeout 6000s;
|
grpc_send_timeout 6000s;
|
||||||
grpc_pass grpcs://lnd_bitcoin:10009;
|
grpc_pass grpcs://lnd_bitcoin:10009;
|
||||||
|
|||||||
Reference in New Issue
Block a user