bumi / lnme

Your friendly Bitcoin Lightning ⚡ payment page ⚡
MIT License
167 stars 30 forks source link

How to bind to loopback only #42

Closed ok300 closed 2 years ago

ok300 commented 2 years ago

From what I see, LnMe binds to all addresses and is therefore reachable under http://public-domain:1323. It would probably need extra firewall magic to block external access to that port, so its only accessible via the reverse proxy.

Is there a way to make LnMe bind only to the loopback address?

Thanks.

ok300 commented 2 years ago

Found a way how to do it, it just wasn't documented yet: listen=127.0.0.1:1323

Added doc with #43