summaryrefslogtreecommitdiffstats
path: root/app/web/uwsgi.ini
diff options
context:
space:
mode:
Diffstat (limited to 'app/web/uwsgi.ini')
-rw-r--r--app/web/uwsgi.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/web/uwsgi.ini b/app/web/uwsgi.ini
new file mode 100644
index 0000000..c4cca12
--- /dev/null
+++ b/app/web/uwsgi.ini
@@ -0,0 +1,16 @@
+[uwsgi]
+module = tosca_server:application
+#plugin = python
+chdir = /srv
+master = True
+processes = 2
+pidfile = /tmp/project-master.pid
+vacuum = true
+max-requests = 5000
+enable-threads = True
+logto = /var/log/uwsgi/%n.log
+
+uid = dcae
+socket = /run/uwsgi/tosca.sock
+chown-socket = dcae:nginx
+chmod-socket = 664