Browse Source

Remove lnd internal ssl settings from nginx

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

3
Production/nginx.tmpl

@ -298,12 +298,9 @@ 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,17 +50,6 @@ 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