mirror of
https://github.com/WeblateOrg/weblate.git
synced 2026-07-31 15:39:16 +08:00
This should be easier for most people to follow as you really don't have to care about versions shipped by your distributions. Fixes #1379 Signed-off-by: Michal Čihař <michal@cihar.com>
19 lines
565 B
INI
Vendored
19 lines
565 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
|
|
# In case you're using virtualenv uncomment this:
|
|
# virtualenv = /path/to/weblate/virtualenv
|
|
# 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
|