getumbrel / umbrel-apps

The official app repository of the Umbrel App Store. Submit apps and updates here. Learn how → https://github.com/getumbrel/umbrel-apps#readme
https://apps.umbrel.com
482 stars 357 forks source link

[Bug] Docker-Compose for LNbits is missing value true for proxy_trust_upstream #1033

Closed arbadacarbaYK closed 3 weeks ago

arbadacarbaYK commented 3 months ago

To make lnbits work in clearnet over a VPN Tunnel, you need to manually add PROXY_TRUST_UPSTREAM: "true" otherwise payments fail.

photo_2024-04-03_19-39-37 photo_2024-04-03_19-39-42

photo_2024-04-03_19-39-24

nmfretz commented 3 weeks ago

Hi @arbadacarbaYK, please see this comment that explains the security reasons why we can't include this environment variable by default for every user. The comment also provides a working solution you can use to persist the PROXY_TRUST_UPSTREAM: "true" across app updates:

https://github.com/getumbrel/umbrel-apps/pull/1037#issuecomment-2072015722