Created
April 20, 2014 13:06
-
-
Save jbonfante/11113749 to your computer and use it in GitHub Desktop.
Sample uwsgi file for a dev/staging server, under py3k and django 1.6
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] | |
chdir = /var/www/django/app | |
module = app.wsgi_staging | |
virtualenv=/var/www/django/env/ | |
env = DJANGO_SETTINGS_MODULE=app.settings.staging | |
socket = /tmp/app.sock | |
master = 1 | |
workers = 2 | |
chmod-socket = 666 | |
auto-procname = 1 | |
pidfile = /tmp/app.pid | |
daemonize = /var/www/django/log/uwsgi_app.log | |
single-interpreter = true | |
uid = django | |
gid = www | |
enable-threads = true | |
harakiri = 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment