Created
July 17, 2014 15:54
-
-
Save saltlakeryan/8f0cf5cec7d8f049c155 to your computer and use it in GitHub Desktop.
HA Proxy example reverse proxy
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
http://docs.neo4j.org/chunked/stable/ha-haproxy.html | |
global | |
daemon | |
maxconn 256 | |
defaults | |
mode http | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms | |
frontend http-in | |
bind *:80 | |
default_backend neo4j | |
backend neo4j | |
option httpchk GET /db/manage/server/ha/available | |
server s1 10.0.1.10:7474 maxconn 32 | |
server s2 10.0.1.11:7474 maxconn 32 | |
server s3 10.0.1.12:7474 maxconn 32 | |
listen admin | |
bind *:8080 | |
stats enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment