Skip to content

Commit d236073

Browse files
committed
fix: use comma-separated string for TRUSTEDPROXIES to ensure Gotify parses it correctly
1 parent cf76c63 commit d236073

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ ENV WORKDIR=/app \
1616
OVERMIND_CAN_DIE=crontab \
1717
# Gotify settings
1818
GOTIFY_SERVER_PORT=8080 \
19-
# Trust Caddy proxy (localhost) to correctly parse X-Forwarded-For
20-
GOTIFY_SERVER_TRUSTEDPROXIES='["127.0.0.1", "::1"]'
19+
GOTIFY_SERVER_TRUSTEDPROXIES=127.0.0.1,::1
2120

2221
WORKDIR $WORKDIR
2322

0 commit comments

Comments
 (0)