Skip to content
Snippets Groups Projects
Verified Commit 068137d1 authored by ynerant's avatar ynerant
Browse files

[helloworld] Clean uWSGI configuration


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 521ccbd1
No related branches found
No related tags found
1 merge request!315Hello world!
......@@ -5,18 +5,13 @@ uid = www-data
gid = www-data
# Django-related settings
# the base directory (full path)
chdir = {{ project_path }}
wsgi-file = {{ module_path }}/wsgi.py
module = printer.wsgi:application
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/django-printer/django-printer.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
# Touch reload
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment