Bump X-Forwarded-For trust to 2 proxies
Some checks failed
Run tests / test (pull_request) Failing after 34s
Some checks failed
Run tests / test (pull_request) Failing after 34s
This commit is contained in:
parent
49dcc26d22
commit
a71ff8c9dc
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class Config(object):
|
|||
# normalize duplicated X-Forwarded-Host values first. Without it,
|
||||
# werkzeug >= 3.1.7 rejects the comma-separated hostname as invalid
|
||||
# (returns empty string or raises SecurityError with trusted_hosts).
|
||||
PROXYFIX_X_FOR = 1
|
||||
PROXYFIX_X_FOR = 2
|
||||
PROXYFIX_X_PROTO = 1
|
||||
PROXYFIX_X_HOST = 0 # see note above before enabling
|
||||
PROXYFIX_X_PORT = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue