This commit is contained in:
ben
2022-09-29 10:37:16 +01:00
parent 7de17485d3
commit 9c575b7d3a

View File

@@ -292,7 +292,7 @@ Save the file and run the following commands:
sudo systemctl enable lnbits.service sudo systemctl enable lnbits.service
sudo systemctl start lnbits.service sudo systemctl start lnbits.service
``` ```
## Setting up a Caddy reverse proxy with automatic https ## Reverse proxy with automatic https using Caddy
Use Caddy to make your LNbits install accessible over clearnet with a domain and https cert. Use Caddy to make your LNbits install accessible over clearnet with a domain and https cert.
@@ -308,7 +308,7 @@ Create a Caddyfile
``` ```
sudo nano Caddyfile sudo nano Caddyfile
``` ```
Assuming your LNbits is running on port `5000`: Assuming your LNbits is running on port `5000` add:
``` ```
yourdomain.com { yourdomain.com {
handle /api/v1/payments/sse* { handle /api/v1/payments/sse* {