Created
January 14, 2019 12:19
-
-
Save wido/c49359e48546cc332ac5323debcfdba3 to your computer and use it in GitHub Desktop.
Ceph Mgr Dash HAProxy configuration
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
global | |
log 127.0.0.1 local1 | |
log 127.0.0.1 local2 notice | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon | |
stats socket /var/lib/haproxy/stats | |
defaults | |
log global | |
mode http | |
retries 3 | |
timeout http-request 10s | |
timeout queue 1m | |
timeout connect 10s | |
timeout client 1m | |
timeout server 1m | |
timeout http-keep-alive 10s | |
timeout check 10s | |
maxconn 3000 | |
option httplog | |
no option httpclose | |
no option http-server-close | |
no option forceclose | |
stats enable | |
stats hide-version | |
stats refresh 30s | |
stats show-node | |
stats uri /haproxy?stats | |
stats auth admin:haproxy | |
frontend https | |
bind *:80 | |
default_backend ceph-dashboard | |
backend ceph-dashboard | |
balance roundrobin | |
option httpchk GET / | |
http-check expect status 200 | |
server mon01 mon01:8080 check | |
server mon02 mon02:8080 check | |
server mon03 mon03:8080 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment