weblate/examples/weblate.uwsgi.ini
Michal Čihař 14008abf73 Close file descriptors on fork with usgi
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-04-30 09:12:30 +02:00

15 lines
432 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