Created
March 23, 2012 06:00
-
-
Save cantremember/2167472 to your computer and use it in GitHub Desktop.
nginx upstream cluster example
This file contains hidden or 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 fastcgi_cluster { | |
# sticky by IP | |
###ip_hash; | |
# max_fails=3 fail_timeout=15s weight=2 | |
# down backup | |
server 127.0.0.1:PORT-1; | |
server 127.0.0.1:PORT-2; | |
server 127.0.0.1:PORT-3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment