Skip to content

Instantly share code, notes, and snippets.

@grubberr
Created August 11, 2014 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grubberr/17ad9d21bdfc687548ae to your computer and use it in GitHub Desktop.
Save grubberr/17ad9d21bdfc687548ae to your computer and use it in GitHub Desktop.
/root@tango56:~# diff -u /usr/local/lib/python2.7/dist-packages/gunicorn/config.py.orig /usr/local/lib/python2.7/dist-packages/gunicorn/config.py
--- /usr/local/lib/python2.7/dist-packages/gunicorn/config.py.orig 2014-08-11 16:15:36.000000000 +0000
+++ /usr/local/lib/python2.7/dist-packages/gunicorn/config.py 2014-08-11 16:08:26.000000000 +0000
@@ -906,6 +906,7 @@
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment