gunicorn.conf 215 B

1234567
  1. import multiprocessing
  2. bind = '127.0.0.1:8000'
  3. workers = multiprocessing.cpu_count() * 2 + 1
  4. pid = 'var/run/gunicorn.pid'
  5. access_logfile = 'var/log/gunicorn/access.log'
  6. error_logfile = 'var/log/gunicorn/error.log'