Skip to content

Commit 5f56f9c

Browse files
Fix lightning redirect on compose
1 parent 48736a5 commit 5f56f9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compose.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ services:
4545
- "traefik.http.middlewares.replacepathregex-media.replacepathregex.regex=^/media/(.*)"
4646
- "traefik.http.middlewares.replacepathregex-media.replacepathregex.replacement=/api/v2/media/$$1"
4747
- "traefik.http.routers.app-media.service=app"
48-
# /.well-known/nostr.json -> /api/v2/nostraddress
48+
#
4949
- "traefik.http.routers.app.rule=PathPrefix(`/`)"
5050
- "traefik.http.routers.app.service=app"
51-
# /.well-known/nostr.json -> /api/v2/lightning
52-
- "traefik.http.routers.app-lightning.rule=Path(`/.well-known/lnurlp`)"
51+
# /.well-known/lnurlp -> /api/v2/lightning
52+
- "traefik.http.routers.app-lightning.rule=Path(`/.well-known/lnurlp/`)"
5353
- "traefik.http.routers.app-lightning.middlewares=replacepath-lightning"
54-
- "traefik.http.middlewares.replacepath-lightning.replacepath.path=/api/v2/lightningaddress"
54+
- "traefik.http.middlewares.replacepath-lightning.replacepath.path=/api/v2/lightningaddress/"
5555
- "traefik.http.routers.app-lightning.service=app"
5656
command: "npm run start"
5757
mariadb:

0 commit comments

Comments
 (0)