Django – Gunicorn Bad Gateway Error

Encountered Bad Gateway error when working with Django and Gunicorn.

It turns out it we just need to pass the following in DEFAULT_ARGS: DEFAULT_ARGS="--timeout 900