Skip to content

Instantly share code, notes, and snippets.

@renatoassis01
Created February 26, 2016 13:52
Show Gist options
  • Save renatoassis01/819aac95e263086d3568 to your computer and use it in GitHub Desktop.
Save renatoassis01/819aac95e263086d3568 to your computer and use it in GitHub Desktop.
Template Uwsgi config file
[uwsgi]
uid=www-data
gid=www-data
vhost=true
virtualenv=/webapps/www/app/
socket=127.0.0.1:9000
master = true
thread=5
master=2
#path to manage.py
chdir=/webapps/www/app/
wsgi-file=/webapps/controladoria/www/app/root_app/wsgi.py
plugins= python-plugin
enable-threads=true
logto= /var/log/uwsgi/%n.log
harakiri-verbose
max-requests = 5000
buffer-size = 32768
reload-mercy = 8
processes = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment