mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
set ForwardedAllowIPS via cli
This commit is contained in:
parent
02b866f08a
commit
2d9747cd56
@ -906,6 +906,7 @@ class XForwardedFor(Setting):
|
|||||||
class ForwardedAllowIPS(Setting):
|
class ForwardedAllowIPS(Setting):
|
||||||
name = "forwarded_allow_ips"
|
name = "forwarded_allow_ips"
|
||||||
section = "Server Mechanics"
|
section = "Server Mechanics"
|
||||||
|
cli = ["--forwarded-allow-ips"]
|
||||||
meta = "STRING"
|
meta = "STRING"
|
||||||
validator = validate_string_to_list
|
validator = validate_string_to_list
|
||||||
default = "127.0.0.1"
|
default = "127.0.0.1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user