[helloworld] Clean uWSGI configuration

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-01-19 01:34:38 +01:00
parent 521ccbd187
commit 068137d15a
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 6 deletions

View File

@ -5,18 +5,13 @@ uid = www-data
gid = www-data gid = www-data
# Django-related settings # Django-related settings
# the base directory (full path) # the base directory (full path)
chdir = {{ project_path }} module = printer.wsgi:application
wsgi-file = {{ module_path }}/wsgi.py
plugin = python3 plugin = python3
# process-related settings # process-related settings
# master # master
master = true master = true
# maximum number of worker processes # maximum number of worker processes
processes = 10 processes = 10
# the socket (use the full path to be safe)
socket = /var/run/uwsgi/app/django-printer/django-printer.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit # clear environment on exit
vacuum = true vacuum = true
# Touch reload # Touch reload