1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
weblate_ynh/conf/uwsgi.ini
2019-02-25 23:09:47 +01:00

27 lines
No EOL
809 B
INI

[uwsgi]
plugins = python3
master = true
protocol = uwsgi
socket = /var/run/__APP__/socket
virtualenv = __FINALPATH__/venv
# http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
mount = __PATH__=__FINALPATH__/venv/lib/python3.5/site-packages/weblate/wsgi.py
manage-script-name = true
# Needed for OAuth/OpenID
buffer-size = 8192
# Increase number of workers for heavily loaded sites
# Needed for background processing
enable-threads = true
# Child processes do not need file descriptors
close-on-exec = true
# 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