summaryrefslogtreecommitdiff
path: root/uwsgi/django.ini
diff options
context:
space:
mode:
Diffstat (limited to 'uwsgi/django.ini')
-rw-r--r--uwsgi/django.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/uwsgi/django.ini b/uwsgi/django.ini
new file mode 100644
index 0000000..0e3f625
--- /dev/null
+++ b/uwsgi/django.ini
@@ -0,0 +1,17 @@
+[uwsgi]
+socket = /home/mysite/run/uwsgi.sock
+# This is the name of the plugin on centos7
+plugin = python36
+wsgi-file = /home/mysite/mysite/wsgi.py
+process = 4
+callable = application
+# Create this directory :-)
+logto = /home/mysite/logs/mysite.log
+virtualenv = /home/mysite/venv
+chdir = /home/mysite
+uid = mysite
+gid = mysite
+chmod-socket = 660
+# Only do this if you actually want uwsgi to auto-reload
+py-autoreload = 1
+