From a56f4c97e41603aecb1f384ee6de2449ce032e32 Mon Sep 17 00:00:00 2001 From: Marco Kilchhofer Date: Mon, 29 Mar 2021 11:16:20 +0200 Subject: [PATCH] fix(env.template): IP_HEADER defaults to X-Real-IP This was wrong in commit 88c56de97b48bb5b9b8af350d0d0e0d5f080ff0e. --- .env.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.template b/.env.template index 34e0e294..a85ce22d 100644 --- 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