Skip to content

Instantly share code, notes, and snippets.

@kgaughan
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgaughan/3b7889c4c20ca8657ce8 to your computer and use it in GitHub Desktop.
Save kgaughan/3b7889c4c20ca8657ce8 to your computer and use it in GitHub Desktop.
Example emperor mode uWSGI configuration skeleton.
[uwsgi]
chdir = /home/keith/sites/weblogs
logto = /home/keith/sites/weblogs/logs/%n.uwsgi.log
master = true
threads = 5
socket = /var/run/uwsgi/weblog.%n.sock
pythonpath = /home/keith/sites/weblogs
env = LC_ALL=en_IE.UTF-8
env = LANG=en_IE.UTF-8
module = %n.wsgi:application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment