commit 9b2234fa0e313f79e458a5dd45da163760fcbfb4
parent 1f79fdec4e87589b932ab3e423d580a01366e67b
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Mon, 29 Mar 2021 23:35:50 +0200
Merge pull request #1556 from mkilchhofer/docs/update_template
fix(env.template): IP_HEADER defaults to X-Real-IP
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