29 lines
789 B
INI
29 lines
789 B
INI
[uwsgi]
|
|
uid = poizon
|
|
gid = poizon
|
|
|
|
# Django-related settings
|
|
# the base directory (full path)
|
|
chdir = /var/www/phzhik-poizonstore/
|
|
# Django's wsgi file
|
|
module = vba_portal:application
|
|
# the virtualenv (full path)
|
|
virtualenv = /var/www/phzhik-poizonstore/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/phzhik-poizonstore/mysite.sock
|
|
socket = :8001
|
|
wsgi-file = /var/www/phzhik-poizonstore/vba_portal/wsgi.py
|
|
pidfile = /tmp/uwsgi.pid
|
|
# ... with appropriate permissions - may be needed
|
|
chmod-socket = 664
|
|
# clear environment on exit
|
|
vacuum = true
|
|
|
|
env = LANG=C.UTF-8
|
|
enable-threads = true |