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.
✨ 🍰 ✨
Merge branch 'master' into forwarded_allow_ips_env
@benoitc excellent, thanks! When is the planned-ish date for the next release?