commit a56f4c97e41603aecb1f384ee6de2449ce032e32
parent fd27759a95bc7f714abacb3a02b8c6f88b1d3cd4
Author: Marco Kilchhofer <marco@kilchhofer.info>
Date: Mon, 29 Mar 2021 11:16:20 +0200
fix(env.template): IP_HEADER defaults to X-Real-IP
This was wrong in commit 88c56de97b48bb5b9b8af350d0d0e0d5f080ff0e.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.env.template b/.env.template
@@ -36,9 +36,9 @@
## Automatically reload the templates for every request, slow, use only for development
# RELOAD_TEMPLATES=false
-## Client IP Header, used to identify the IP of the client, defaults to "X-Client-IP"
+## Client IP Header, used to identify the IP of the client, defaults to "X-Real-IP"
## Set to the string "none" (without quotes), to disable any headers and just use the remote IP
-# IP_HEADER=X-Client-IP
+# IP_HEADER=X-Real-IP
## Cache time-to-live for successfully obtained icons, in seconds (0 is "forever")
# ICON_CACHE_TTL=2592000