2017-09-13 14:49:10 +02:00
|
|
|
[uwsgi]
|
2018-10-19 23:28:40 +02:00
|
|
|
plugins = python3
|
2017-09-18 15:08:21 +02:00
|
|
|
master = true
|
|
|
|
protocol = uwsgi
|
2019-02-25 23:09:47 +01:00
|
|
|
socket = /var/run/__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-10-19 23:28:40 +02:00
|
|
|
mount = __PATH__=__FINALPATH__/venv/lib/python3.5/site-packages/weblate/wsgi.py
|
2017-12-17 17:19:48 +01:00
|
|
|
|
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
|
2019-02-25 23:09:47 +01:00
|
|
|
|
|
|
|
# Run as weblate user
|
|
|
|
#uid = __APP__
|
|
|
|
#gid = www-data
|
|
|
|
|
|
|
|
# Do not log some errors caused by client disconnects
|
|
|
|
ignore-sigpipe = true
|
|
|
|
ignore-write-errors = true
|
|
|
|
disable-write-exception = true
|