Skip to content

Instantly share code, notes, and snippets.

@ranjanashish
Created June 2, 2018 03:30
Show Gist options
  • Save ranjanashish/e9f17392632cb28ba919d5799d3f15a4 to your computer and use it in GitHub Desktop.
Save ranjanashish/e9f17392632cb28ba919d5799d3f15a4 to your computer and use it in GitHub Desktop.
uwsgi configuration for python projects
[uwsgi]
socket = %d/uwsgi.sock
chmod-socket = 666
chdir = %d/..
wsgi-file = wsgi_gevent.py
callable = app
gevent = 500
master = true
workers = 1
stats = 0.0.0.0:5001
stats-http = true
memory-report = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment