mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #642 from georgexsh/forward_ips_cli
set ForwardedAllowIPS via cli
This commit is contained in:
commit
824b540fcb
@ -923,6 +923,7 @@ class XForwardedFor(Setting):
|
||||
class ForwardedAllowIPS(Setting):
|
||||
name = "forwarded_allow_ips"
|
||||
section = "Server Mechanics"
|
||||
cli = ["--forwarded-allow-ips"]
|
||||
meta = "STRING"
|
||||
validator = validate_string_to_list
|
||||
default = "127.0.0.1"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user