Skip to content

Instantly share code, notes, and snippets.

@jasonjayr
jasonjayr / graphite
Created August 13, 2012 23:29 — forked from shawn-sterling/graphite
Graphite on uwsgi/nginx
#This is the "site config" for nginx
upstream django {
# Distribute requests to servers based on client IP. This keeps load
# balancing fair but consistent per-client. In this instance we're
# only using one uWGSI worker anyway.
ip_hash;
server unix:/tmp/uwsgi.sock;
}
server {