diff options
author | Markus Krogh <markus@nordu.net> | 2017-06-02 14:32:39 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2017-06-02 14:32:39 +0200 |
commit | be5d914b73a264960770419e1e10d00b5fceb47f (patch) | |
tree | 391171cce91c021359a7b4966485bd679ceee117 /other_conf | |
parent | 934702f61f1cbdbf001ebb598c22c75efa247645 (diff) |
Uwsgi and ready for deployment
Diffstat (limited to 'other_conf')
-rw-r--r-- | other_conf/uwsgi.conf | 18 |
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 |