summaryrefslogtreecommitdiff
path: root/config/uwsgi.config
diff options
context:
space:
mode:
Diffstat (limited to 'config/uwsgi.config')
-rw-r--r--config/uwsgi.config19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/uwsgi.config b/config/uwsgi.config
new file mode 100644
index 0000000..7108d33
--- /dev/null
+++ b/config/uwsgi.config
@@ -0,0 +1,19 @@
1[uwsgi]
2module=main
3chdir = /var/www/mat2-web/
4callable = app
5wsgi-file = main.py
6master = true
7workers = 1
8
9uid = www-data
10gid = www-data
11
12# kill stalled processes
13harakiri = 30
14die-on-term = true
15
16socket = mat2-web.sock
17chmod-socket = 774
18plugins = python3
19