Skip to content

Instantly share code, notes, and snippets.

@davesque
Created January 7, 2013 18:33
Show Gist options
  • Save davesque/4477301 to your computer and use it in GitHub Desktop.
Save davesque/4477301 to your computer and use it in GitHub Desktop.
Uwsgi ini file for django
[uwsgi]
socket = /tmp/example.com.sock
; Worker processes
master = 1
processes = 4
; Virtualenv and home directory
virtualenv = /var/virtualenvs/example.com
chdir = /var/www/example.com
; Python path and application module
pythonpath = /var/www/example.com
module = django.core.handlers.wsgi:WSGIHandler()
home = /var/virtualenvs/example.com
; Evironment vars
env = DJANGO_SETTINGS_MODULE=example.settings
env = PATH=/var/virtualenvs/example.com/bin:$PATH
env = LC_ALL=en_US.UTF-8
env = LANG=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment