mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
add missing cli = --x-forwarded-for-hdr option
This commit is contained in:
parent
824b540fcb
commit
28d6d4be42
@ -911,6 +911,7 @@ class SecureSchemeHeader(Setting):
|
||||
class XForwardedFor(Setting):
|
||||
name = "x_forwarded_for_header"
|
||||
section = "Server Mechanics"
|
||||
cli = ["--x-forwarded-for-hdr"]
|
||||
meta = "STRING"
|
||||
validator = validate_string
|
||||
default = 'X-FORWARDED-FOR'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user