From: Adam Dullage Date: Sat, 9 Sep 2023 05:19:59 +0000 (+0100) Subject: Allow custom headers to show real IP in logs when behind proxy X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b19062de8a580c7c6a309b1c142d0fb570039abb;p=flatnotes.git Allow custom headers to show real IP in logs when behind proxy --- diff --git a/entrypoint.sh b/entrypoint.sh index 224bd16..c637125 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -34,4 +34,6 @@ exec gosu ${PUID}:${PGID} \ main:app \ --app-dir flatnotes \ --host 0.0.0.0 \ - --port 8080 + --port 8080 \ + --proxy-headers \ + --forwarded-allow-ips "*"