mirror of
https://github.com/moepman/bk-dss
synced 2024-12-22 13:54:26 +01:00
Improve uwsgi example config
This commit is contained in:
parent
1c573cd15b
commit
9e0275eef2
@ -14,7 +14,7 @@ TBA
|
|||||||
|
|
||||||
## uWSGI
|
## 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
|
## Misc
|
||||||
|
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
[uwsgi]
|
[uwsgi]
|
||||||
socket = 127.0.0.1:5001
|
socket = 127.0.0.1:5001
|
||||||
#chroot = /path/to/dss/
|
#chdir = /path/to/dss/
|
||||||
|
plugin = python3
|
||||||
wsgi-file = dss.py
|
wsgi-file = dss.py
|
||||||
callable = app
|
callable = app
|
||||||
|
#uid = www-data
|
||||||
|
#gid = www-data
|
||||||
processess = 4
|
processess = 4
|
||||||
threads = 2
|
threads = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user