24 lines
515 B
INI
Executable File
24 lines
515 B
INI
Executable File
[uwsgi]
|
|
# Django-related settings
|
|
# the base directory (full path)
|
|
chdir = /django_project
|
|
# Django's wsgi file
|
|
module = config.wsgi
|
|
|
|
# process-related settings
|
|
# master
|
|
master = true
|
|
# maximum number of worker processes
|
|
processes = 8
|
|
|
|
# the socket (use the full path to be safe)
|
|
socket = :8888
|
|
|
|
# ... with appropriate permissions - may be needed
|
|
# chmod-socket = 664
|
|
# clear environment on exit
|
|
vacuum = true
|
|
|
|
# DO NOT USE IN PRODUCTION
|
|
# py-autoreload = 2
|