2017-09-13 14:49:10 +02:00
|
|
|
[uwsgi]
|
2018-04-08 10:27:26 +02:00
|
|
|
plugins = python
|
2017-09-18 15:08:21 +02:00
|
|
|
master = true
|
|
|
|
protocol = uwsgi
|
2017-11-20 15:58:51 +01:00
|
|
|
socket = /var/run/uwsgi/__APP__.socket
|
2017-09-18 15:08:21 +02:00
|
|
|
virtualenv = __FINALPATH__/venv
|
2017-12-17 17:19:48 +01:00
|
|
|
|
|
|
|
# http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
|
2018-04-08 10:27:26 +02:00
|
|
|
mount = __PATH__=__FINALPATH__/venv/lib/python2.7/site-packages/weblate/wsgi.py
|
2017-12-17 17:19:48 +01:00
|
|
|
manage-script-name = true
|
|
|
|
|
2017-09-13 14:49:10 +02:00
|
|
|
# Needed for OAuth/OpenID
|
2017-09-18 15:08:21 +02:00
|
|
|
buffer-size = 8192
|
2017-09-13 14:49:10 +02:00
|
|
|
# Increase number of workers for heavily loaded sites
|
|
|
|
# Needed for background processing
|
|
|
|
enable-threads = true
|
|
|
|
# Child processes do not need file descriptors
|
2017-09-18 15:08:21 +02:00
|
|
|
close-on-exec = true
|