Created
October 7, 2014 11:10
-
-
Save rnewson/a9a24e855a5dcafefb80 to your computer and use it in GitHub Desktop.
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
global | |
maxconn 10000 | |
spread-checks 5 | |
defaults | |
mode http | |
log global | |
option httplog | |
balance roundrobin | |
option forwardfor | |
option redispatch | |
retries 4 | |
timeout client 150000 | |
timeout server 3600000 | |
timeout connect 500 | |
frontend http-in | |
bind *:5984 | |
default_backend servers | |
backend servers | |
option httpchk GET /_up | |
http-check disable-on-404 | |
server node1 127.0.0.1:15984 check inter 5s | |
server node2 127.0.0.1:25984 check inter 5s | |
server node3 127.0.0.1:35984 check inter 5s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment