Created
January 7, 2013 18:33
-
-
Save davesque/4477301 to your computer and use it in GitHub Desktop.
Uwsgi ini file for django
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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