ansible/roles/re2o-front/templates/uwsgi/apps-available/re2o.ini.j2

28 lines
784 B
Django/Jinja

{{ ansible_header | comment }}
[uwsgi]
uid = www-data
gid = www-data
# Django-related settings
# the base directory (full path)
chdir = /var/www/re2o
# Django's wsgi file
#module = winaps.wsgi:application
# the virtualenv (full path)
# home = /var/www/re2o/venv
wsgi-file = /var/www/re2o/re2o/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/run/uwsgi/app/re2o/re2o.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
#Touch reload
touch-reload = /var/www/re2o/re2o/settings.py