uwsgi_note.ini 806 Bytes
Newer Older
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# # mysite_uwsgi.ini file
[uwsgi]
uid             = www-data
gid             = www-data
# Django-related settings
# the base directory (full path)
chdir           = /var/www/note_kfet
# Django's wsgi file
#module          = winaps.wsgi:application
# the virtualenv (full path)
home            = /var/www/note_kfet/env
wsgi-file       = /var/www/note_kfet/note_kfet/wsgi.py
plugin          = python3
# 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/note_kfet/note_kfet.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 664
# clear environment on exit
vacuum          = true
#Touch reload
touch-reload = /var/www/note_kfet/note_kfet/settings.py