from gevent import monkey monkey.patch_all() import multiprocessing debug = True loglevel = 'debug' bind = '0.0.0.0:3389' pidfile = 'log/gunicorn.pid' logfile = 'log/debug.log' workers = multiprocessing.cpu_count() * 2 + 1 worker_class = 'gevent'