git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
970a34c
)
Allow custom headers to show real IP in logs when behind proxy
author
Adam Dullage
<redacted>
Sat, 9 Sep 2023 05:19:59 +0000
(06:19 +0100)
committer
Adam Dullage
<redacted>
Sat, 9 Sep 2023 05:19:59 +0000
(06:19 +0100)
entrypoint.sh
patch
|
blob
|
history
diff --git
a/entrypoint.sh
b/entrypoint.sh
index 224bd1633a6ea9f9ad05723442f4216205879f13..c637125b5f298c77808de17e277cc6bb31e7b99e 100644
(file)
--- 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 "*"
git clone https://git.99rst.org/PROJECT