1
0
mirror of https://github.com/moepman/bk-dss synced 2024-11-17 12:49:15 +01:00

Improve uwsgi example config

This commit is contained in:
Markus 2019-02-12 09:42:07 +01:00
parent 1c573cd15b
commit 9e0275eef2
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ TBA
## uWSGI
To use dss with uWSGI create a file called uwsgi.ini from the provided example and change the socket and optinally the chroot setting. You can use `/usr/bin/uwsgi --ini /path/to/dss/uwsgi.ini` to start your instance.
To use dss with uWSGI create a file called uwsgi.ini from the provided example and change the socket and optinally the chdir,uid and gid settings. You can use `/usr/bin/uwsgi --ini /path/to/dss/uwsgi.ini` to start your instance.
## Misc

View File

@ -1,7 +1,10 @@
[uwsgi]
socket = 127.0.0.1:5001
#chroot = /path/to/dss/
#chdir = /path/to/dss/
plugin = python3
wsgi-file = dss.py
callable = app
#uid = www-data
#gid = www-data
processess = 4
threads = 2