Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$FORWARDED_ALLOW_IPS #1205

Merged
merged 2 commits into from Feb 11, 2016
Merged

$FORWARDED_ALLOW_IPS #1205

merged 2 commits into from Feb 11, 2016

Conversation

kennethreitz
Copy link
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
Copy link
Collaborator Author

/cc @benoitc

benoitc added a commit that referenced this pull request Feb 11, 2016
@benoitc benoitc merged commit 7db09f1 into master Feb 11, 2016
@benoitc
Copy link
Owner

benoitc commented Feb 11, 2016

thanks!

@kennethreitz
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants