$FORWARDED_ALLOW_IPS #1205

Merged
merged 2 commits into from Feb 11, 2016

Projects

None yet

2 participants

@kennethreitz
Collaborator

This pull request gives gunicorn the ability to have the ForwardedAllowIPS setting (e.g. --forwarded-allow-ips) default configured via the environment variable FORWARDED_ALLOW_IPS. Similar behavior is currently in gunicorn for $WEB_CONCURRENCY and the Workers setting.

This will allow Heroku users to have a better default Gunicorn configuration out of the box, and will alleviate the need to use ProxyFix middleware in WSGI applications, without effecting their codebase.

🍰

@kennethreitz kennethreitz $FORWARDED_ALLOW_IPS
a669867
@kennethreitz
Collaborator

/cc @benoitc

@kennethreitz kennethreitz Merge branch 'master' into forwarded_allow_ips_env
845545a
@benoitc benoitc merged commit 7db09f1 into master Feb 11, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@benoitc
Owner
benoitc commented Feb 11, 2016

thanks!

@kennethreitz
Collaborator

@benoitc excellent, thanks! When is the planned-ish date for the next release?

@kennethreitz kennethreitz deleted the forwarded_allow_ips_env branch Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment