updated nginx location for LND's GRPC API (#663)

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
This commit is contained in:
maxwedwards 2022-06-27 04:15:45 +01:00 committed by GitHub
parent f8cb3b60c6
commit 7e648d296d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
{{ range $container := $.Containers }}
{{ $serviceName := (index $container.Labels "com.docker.compose.service") }}
{{ if (eq $serviceName "lnd_bitcoin") }}
location /lnrpc {
location ~* ^/(lnrpc|routerrpc)\. {
grpc_read_timeout 6000s;
grpc_send_timeout 6000s;
grpc_pass grpcs://lnd_bitcoin:10009;