Allow custom headers to show real IP in logs when behind proxy
authorAdam Dullage <redacted>
Sat, 9 Sep 2023 05:19:59 +0000 (06:19 +0100)
committerAdam Dullage <redacted>
Sat, 9 Sep 2023 05:19:59 +0000 (06:19 +0100)
entrypoint.sh

index 224bd1633a6ea9f9ad05723442f4216205879f13..c637125b5f298c77808de17e277cc6bb31e7b99e 100644 (file)
@@ -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 "*"
git clone https://git.99rst.org/PROJECT