Update X-Forwarded-Proto to 2 for consistency with X-Forwarded-For.
Some checks failed
Run tests / test (pull_request) Failing after 33s
Some checks failed
Run tests / test (pull_request) Failing after 33s
This commit is contained in:
parent
a71ff8c9dc
commit
228a5155a0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class Config(object):
|
|||
# werkzeug >= 3.1.7 rejects the comma-separated hostname as invalid
|
||||
# (returns empty string or raises SecurityError with trusted_hosts).
|
||||
PROXYFIX_X_FOR = 2
|
||||
PROXYFIX_X_PROTO = 1
|
||||
PROXYFIX_X_PROTO = 2
|
||||
PROXYFIX_X_HOST = 0 # see note above before enabling
|
||||
PROXYFIX_X_PORT = 0
|
||||
PROXYFIX_X_PREFIX = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue