SHARE
TWEET

uWsgi config file for django project

jimyeh Jun 14th, 2012 34 Never
  1. [uwsgi]
  2. # set the http port if you run it as standalone
  3. # http = :80
  4. # change to django project directory
  5. chdir = /path/to/my/proj
  6. # load django 1.4 project
  7. module = proj.wsgi:application
  8. # Setup socket
  9. # socket = /tmp/uwsgi.sock
  10. # socket = :3030
  11. # Setup zeromq tcp protocol
  12. zeromq = tcp://127.0.0.1:9999,tcp://127.0.0.1:9998
  13. processes = 1
  14. max-requests = 5000
  15. enable-threads = false
  16. threads = 2
  17. master = true
  18. vacuum = true
  19. daemonize = logs/uwsgi.log
RAW Paste Data
Top