mirror of https://gitlab.crans.org/bde/nk20
28 lines
806 B
INI
28 lines
806 B
INI
|
# # 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
|
||
|
|