Skip to content

Instantly share code, notes, and snippets.

@DrMartiner
Last active December 11, 2015 10:18
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 DrMartiner/4585587 to your computer and use it in GitHub Desktop.
Save DrMartiner/4585587 to your computer and use it in GitHub Desktop.
Basic config uWSGI server for Django instance at develop mode (/etc/uwsgi/apps-avalible/project.ini)
[uwsgi]
processes = 2
env = DJANGO_SETTINGS_MODULE=project.settings
module = project.wsgi
chdir = /home/www/%n/
virtualenv = /home/www/%n/.env/
pythonpath = /home/www/%n/
harakiri = 30
reload-mercy = 8
max-requests = 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment