Skip to content

Instantly share code, notes, and snippets.

@dahlia
Created September 23, 2011 07:52
Show Gist options
  • Save dahlia/1236923 to your computer and use it in GitHub Desktop.
Save dahlia/1236923 to your computer and use it in GitHub Desktop.
nginx-upstream-dynamicweight
upstream styleshare {
weight_header X-App-Load '^\s*(\d+)\s*$';
server 127.0.0.1:5000;
server 127.0.0.1:5001;
server 127.0.0.1:5002;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment