mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-06-10 22:20:13 +08:00
See http://stackoverflow.com/a/23860803/225718 Issue #1133 Signed-off-by: Michal Čihař <michal@cihar.com>
17 lines
472 B
INI
Vendored
17 lines
472 B
INI
Vendored
[uwsgi]
|
|
plugins = python
|
|
master = true
|
|
protocol = uwsgi
|
|
socket = 127.0.0.1:8080
|
|
wsgi-file = /path/to/weblate/weblate/wsgi.py
|
|
python-path = /path/to/weblate
|
|
# Needed for OAuth/OpenID
|
|
buffer-size = 8192
|
|
# Increase number of workers for heavily loaded sites
|
|
#workers = 6
|
|
# Needed for background processing
|
|
enable-threads = true
|
|
# Child processes do not need file descriptors
|
|
close-on-exec = true
|
|
# Avoid default 0000 umask
|
|
umask = 0022
|