[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

[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=/home/me/.virtualenv

[base]
# chdir to the folder of this config file, plus app/website
chdir = %d

# load the module from wsgi.py, it is a python path from
# the directory above.
module = wsgi

# allow anyone to connect to the socket. This is very permissive
chmod-socket=666

auto-reload = %dwsgi.py