Created
September 23, 2011 07:52
-
-
Save dahlia/1236923 to your computer and use it in GitHub Desktop.
nginx-upstream-dynamicweight
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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