# mysite_uwsgi.ini file [uwsgi] # Django-related settings # the base directory (full path) chdir = /home/james/production # Django's wsgi file module = app.app # the virtualenv (full path) home = /home/james/production/env # process-related settings # master master = true # maximum number of worker processes processes = 1 # the socket (use the full path to be safe socket = /tmp/james.sock # ... with appropriate permissions - may be needed chmod-socket = 664 # clear environment on exit vacuum = true