diff --git a/uwsgi.ini b/uwsgi.ini index 8dabc69c57d1bd948069f2fcb7295f76b93eeec9..6560773aae42012e2b34926642c7548e52a7b6c2 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -1,12 +1,18 @@ [uwsgi] plugin = python3 manage-script-name = true -workers = %k*2 uid = uffd-nginxauth gid = uffd-nginxauth vacuum = true +master = true + +process = 2 +threads = 4 +buffer-size = 8192 ; this buffer is used for http headers and defaults to 4k +single-interpreter = true +need-app = true env = PYTHONIOENCODING=UTF-8 env = LANG=en_GB.utf8