Skip to content
Snippets Groups Projects

rewrite default uwsgi config

1 file
+ 7
1
Compare changes
  • Side-by-side
  • Inline
+ 7
1
[uwsgi]
[uwsgi]
plugin = python3
plugin = python3
manage-script-name = true
manage-script-name = true
workers = %k*2
uid = uffd-nginxauth
uid = uffd-nginxauth
gid = uffd-nginxauth
gid = uffd-nginxauth
vacuum = true
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 = PYTHONIOENCODING=UTF-8
env = LANG=en_GB.utf8
env = LANG=en_GB.utf8
Loading