32 lines
838 B
INI
32 lines
838 B
INI
[uwsgi]
|
|
project = poizonstore
|
|
|
|
uid = poizon
|
|
gid = poizon
|
|
|
|
# Django-related settings
|
|
# the base directory (full path)
|
|
chdir = /var/www/%(project)/
|
|
# Django's wsgi file
|
|
module = %(project):application
|
|
# the virtualenv (full path)
|
|
virtualenv = /var/www/%(project)/env
|
|
|
|
# process-related settings
|
|
# master
|
|
master = true
|
|
# maximum number of worker processes
|
|
processes = 10
|
|
# the socket (use the full path to be safe
|
|
#socket = /var/www/%(project)/mysite.sock
|
|
socket = :8001
|
|
wsgi-file = /var/www/%(project)/poizonstore/wsgi.py
|
|
pidfile = /tmp/uwsgi/%(project).pid
|
|
stats = /tmp/uwsgi/uwsgi.stats.sock
|
|
# ... with appropriate permissions - may be needed
|
|
chmod-socket = 664
|
|
# clear environment on exit
|
|
vacuum = true
|
|
|
|
env = LANG=C.UTF-8
|
|
enable-threads = true |