summaryrefslogtreecommitdiff
path: root/other_conf
diff options
context:
space:
mode:
Diffstat (limited to 'other_conf')
-rw-r--r--other_conf/uwsgi.conf18
1 files changed, 18 insertions, 0 deletions
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