2018-08-31 17:24:08 +00:00
|
|
|
# mysite_uwsgi.ini file
|
|
|
|
[uwsgi]
|
|
|
|
|
|
|
|
# Django-related settings
|
|
|
|
# the base directory (full path)
|
|
|
|
chdir = /var/www/g214/current
|
|
|
|
# Django's wsgi file
|
|
|
|
module = g214.wsgi
|
|
|
|
|
|
|
|
# process-related settings
|
|
|
|
# master
|
|
|
|
master = true
|
|
|
|
# maximum number of worker processes
|
2018-08-31 18:18:18 +00:00
|
|
|
processes = 4
|
2018-08-31 17:24:08 +00:00
|
|
|
# the socket (use the full path to be safe
|
|
|
|
socket = /tmp/g214.sock
|
|
|
|
# ... with appropriate permissions - may be needed
|
2018-08-31 18:18:18 +00:00
|
|
|
chmod-socket = 666
|
2018-08-31 17:24:08 +00:00
|
|
|
# clear environment on exit
|
|
|
|
vacuum = true
|