Skip to content

Instantly share code, notes, and snippets.

@imax
Created December 21, 2009 11:07
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 imax/260903 to your computer and use it in GitHub Desktop.
Save imax/260903 to your computer and use it in GitHub Desktop.
upstream django-vsesto {
server 127.0.0.1:8000;
server 127.0.0.1:8001;
}
server {
location / {
proxy_pass http://django-vsesto/;
include /etc/nginx/proxy.conf;
proxy_connect_timeout 2;
proxy_next_upstream error timeout;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment