diff options
| author | Luke Hoersten <[email protected]> | 2026-05-26 07:29:24 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-05-26 07:29:24 -0500 |
| commit | 272788e6107e8353b7b21a3a8363be9e8ac62541 (patch) | |
| tree | ad98cbf897008fdeaa5539ba5a394d6333ed261d /lnd/templates | |
| parent | 6a89fefd2d18fce815d8101727b75efc9d826210 (diff) | |
Nginx reverse proxy on btc.nth.io runs on a separate host from lnd,
so 127.0.0.1 binding broke cross-host proxying (502 Bad Gateway).
Bind to default_ipv4 to keep REST off other interfaces while still
reachable from the proxy host.
Diffstat (limited to 'lnd/templates')
| -rw-r--r-- | lnd/templates/lnd.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lnd/templates/lnd.conf.j2 b/lnd/templates/lnd.conf.j2 index 60fec71..e35699a 100644 --- a/lnd/templates/lnd.conf.j2 +++ b/lnd/templates/lnd.conf.j2 @@ -9,7 +9,7 @@ alias={{lnd_alias}} tlsextradomain={{lnd_alias}} listen=0.0.0.0:9735 rpclisten=127.0.0.1:10009 -restlisten=127.0.0.1:8080 +restlisten={{ansible_facts['default_ipv4']['address']}}:8080 [Bitcoin] bitcoin.mainnet=true |
