Skip to content

Commit 9b2234f

Browse files
authored
Merge pull request dani-garcia#1556 from mkilchhofer/docs/update_template
fix(env.template): IP_HEADER defaults to X-Real-IP
2 parents 1f79fde + a56f4c9 commit 9b2234f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.env.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
## Automatically reload the templates for every request, slow, use only for development
3737
# RELOAD_TEMPLATES=false
3838

39-
## Client IP Header, used to identify the IP of the client, defaults to "X-Client-IP"
39+
## Client IP Header, used to identify the IP of the client, defaults to "X-Real-IP"
4040
## Set to the string "none" (without quotes), to disable any headers and just use the remote IP
41-
# IP_HEADER=X-Client-IP
41+
# IP_HEADER=X-Real-IP
4242

4343
## Cache time-to-live for successfully obtained icons, in seconds (0 is "forever")
4444
# ICON_CACHE_TTL=2592000

0 commit comments

Comments
 (0)