Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sample Gunicorn config for Django on Heroku. Usage: "gunicorn -b$PORT --settings $DJANGO_SETTINGS_MODULE -c"
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = 'gevent'
loglevel = 'error'
secure_scheme_headers = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.