[uwsgi] # this config will be loaded if nothing specific is specified # load base config from below ini = :base # %d is the dir this configuration file is in socket = %dapp.sock master = true processes = 4 # logto = /var/log/wsgi.log # logto2 = /var/log/wsgi2.log # logto = /dev/stderr # logto2 = /dev/stderr [dev] ini = :base # socket (uwsgi) is not the same as http, nor http-socket socket = :8001 [local] ini = :base http = :8000 # set the virtual env to use home=/Users/you/envs/env [base] # chdir to the folder of this config file # (AB no), plus app/website chdir = /oacct_checker # load the module from wsgi.py, it is a python path from # the directory above. module=django_app.wsgi:application # allow anyone to connect to the socket. This is very permissive chmod-socket=666