Skip to content

Instantly share code, notes, and snippets.

View petzsch's full-sized avatar

Markus Petzsch petzsch

View GitHub Profile
@petzsch
petzsch / README.md
Last active May 15, 2025 16:14
Run BTCPay Server behind a custom Reverse Proxy (i.e. Apache)

Howto configure BTCPay behind a reverse proxy (Apache 2.x)

This configuration will disable the let's encrypt part of the configuration. Your BTCPay will still install a reverse proxy, which is needed to allow access to i.e. Ride The Lightning.

Please adapt the configuration to your environment:

Replace btcpay.DOMAIN.TLD with the actual vHost domain name you will be using to tunnel requests through. You may also want to change the pruning setting according to your needs.

@petzsch
petzsch / .env
Last active April 6, 2024 14:47
LNBits Fragment for BTCPay Server
HOST=0.0.0.0
PORT=80
# uvicorn variable, allow https behind a proxy
FORWARDED_ALLOW_IPS="*"
DEBUG=false
# Allow users and admins by user IDs (comma separated list)
#LNBITS_ALLOWED_USERS="UID"

Keybase proof

I hereby claim:

  • I am petzsch on github.
  • I am petzsch (https://keybase.io/petzsch) on keybase.
  • I have a public key ASD6LuHO9TF2wlKmOFyRWTRkcxnKZhd9yc3B5LvtEoJCawo

To claim this, I am signing this object: