Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Django-related settings
# the base directory (full path)
chdir = /var/www/vndeveloper/djangodemo/
# Django's wsgi file
module =djangodemo.wsgi
# the virtualenv (full path)
home = /var/www/p3venv
# fixpathinfo routing action. Blindly assumes PATH_INFO is clobbered with SCRIPT_NAME
route-run = fixpathinfo:
# Logs
logdate = True
logto = /var/log/uwsgi/access.log
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 5
# the socket (use the full path to be safe)
socket = /run/uwsgi/django.sock
# ... with appropriate permissions - may be needed
chmod-socket = 666
# clear environment on exit
vacuum = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment