dawdle/setup/uwsgi.ini
2024-02-28 16:23:41 +11:00

19 lines
518 B
INI

[uwsgi]
# base directory (full path)
chdir = DAWDLERPG_DIR/site/
# Django's wsgi file
module = project.wsgi:application
# Set uid/gid to www-data so nginx can access
uid = www-data
gid = www-data
# master
master = true
# maximum number of worker processes
processes = 3
# the socket (use the full path to be safe)
socket = /tmp/dawdlerpg-uwsgi.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true