From be5d914b73a264960770419e1e10d00b5fceb47f Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Fri, 2 Jun 2017 14:32:39 +0200 Subject: Uwsgi and ready for deployment --- other_conf/uwsgi.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 other_conf/uwsgi.conf (limited to 'other_conf') diff --git a/other_conf/uwsgi.conf b/other_conf/uwsgi.conf new file mode 100644 index 0000000..ad48d13 --- /dev/null +++ b/other_conf/uwsgi.conf @@ -0,0 +1,18 @@ +[uwsgi] +# Django-related settings +plugins = python +protocol = uwsgi +# the base directory (full path) +chdir = /app/ +# Django's wsgi file +wsgi-file = /app/pwman/wsgi.py +# process-related settings +# master +master = true +# maximum number of worker processes +processes = 5 +#threads = 2 +max-requests = 5000 +# the socket (use the full path to be safe +socket = 0.0.0.0:8000 +#socket = /opt/pwman/pwman.sock -- cgit v1.1