mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-28 15:15:27 +08:00
42 lines
961 B
INI
Vendored
42 lines
961 B
INI
Vendored
[uwsgi]
|
|
plugins = python
|
|
master = true
|
|
protocol = uwsgi
|
|
socket = 127.0.0.1:8080
|
|
wsgi-file = /usr/local/lib/python3.6/dist-packages/weblate/wsgi.py
|
|
|
|
# Add path to Weblate checkout if you did not install
|
|
# Weblate by pip
|
|
# 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
|
|
|
|
# Child processes do not need file descriptors
|
|
close-on-exec = true
|
|
|
|
# Avoid default 0000 umask
|
|
umask = 0022
|
|
|
|
# Run as weblate user
|
|
uid = weblate
|
|
gid = weblate
|
|
|
|
# Enable harakiri mode (kill requests after some time)
|
|
# harakiri = 3600
|
|
# harakiri-verbose = true
|
|
|
|
# Enable uWSGI stats server
|
|
# stats = :1717
|
|
# stats-http = true
|
|
|
|
# Do not log some errors caused by client disconnects
|
|
ignore-sigpipe = true
|
|
ignore-write-errors = true
|
|
disable-write-exception = true
|