gunicorn.conf 347 B

1234567891011121314151617181920
  1. # -*- coding: utf-8 -*-
  2. APP_NAME = "test"
  3. bind = "unix:/var/run/%s.sock" % APP_NAME
  4. workers = 1
  5. worker_class = "gevent"
  6. worker_connections = 500
  7. timeout = 60
  8. daemon = False
  9. pidfile = "/var/run/%s.pid" % APP_NAME
  10. chdir = "/root/project/test/project"
  11. errorlog = "/data/log/web/%s.log" % APP_NAME
  12. loglevel = "info"
  13. accesslog = "-"
  14. reload = True