Skip to content

Commit 7c0ec4b

Browse files
committed
fix: use comma-separated CIDR for TRUSTEDPROXIES to correctly parse client IP
1 parent 7de767e commit 7c0ec4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV WORKDIR=/app \
1616
OVERMIND_CAN_DIE=crontab \
1717
# Gotify settings
1818
GOTIFY_SERVER_PORT=8080 \
19-
GOTIFY_SERVER_TRUSTEDPROXIES='["127.0.0.1", "::1"]'
19+
GOTIFY_SERVER_TRUSTEDPROXIES=127.0.0.0/8,::1/128
2020

2121
WORKDIR $WORKDIR
2222

0 commit comments

Comments
 (0)