Browse Source

Revert "Remove lnd internal ssl settings from nginx"

This reverts commit 5523581243.
migrate-pregen
nicolas.dorier 6 years ago
parent
commit
7f4ddbe626
  1. 3
      Production/nginx.tmpl
  2. 11
      docker-compose-generator/docker-fragments/bitcoin-lnd.yml

3
Production/nginx.tmpl

@ -298,9 +298,12 @@ server {
{{ end }}
}
{{ if (exists "/lnd/tls.cert") }}
location /lnrpc.Lightning {
grpc_pass grpcs://lnd_bitcoin:10009;
grpc_ssl_trusted_certificate /lnd/tls.cert;
}
{{ end }}
}
{{ end }}

11
docker-compose-generator/docker-fragments/bitcoin-lnd.yml

@ -50,6 +50,17 @@ services:
expose:
- "28332"
- "28333"
nginx:
links:
- "lnd_bitcoin"
volumes:
- "lnd_bitcoin_datadir:/lnd"
nginx-gen:
links:
- "lnd_bitcoin"
volumes:
- "lnd_bitcoin_datadir:/lnd"
volumes:
lnd_bitcoin_datadir:
Loading…
Cancel
Save