Skip to content

Instantly share code, notes, and snippets.

@zhanghui9700
Created September 5, 2016 03:13
Show Gist options
  • Save zhanghui9700/d00f306d983ed2733298aa936181f15a to your computer and use it in GitHub Desktop.
Save zhanghui9700/d00f306d983ed2733298aa936181f15a to your computer and use it in GitHub Desktop.
root@node-3:~# cat /var/lib/neutron/lbaas/v2/c9646493-cc1e-4bfc-baba-1c235bbf3053/haproxy.conf
# Configuration for lb-80
global
daemon
user nobody
group haproxy
log /dev/log local0
log /dev/log local1 notice
stats socket /var/lib/neutron/lbaas/v2/c9646493-cc1e-4bfc-baba-1c235bbf3053/haproxy_stats.sock mode 0666 level user
defaults
log global
retries 3
option redispatch
timeout connect 5000
timeout client 50000
timeout server 50000
frontend 89603664-8890-45ed-95d9-13672e586f93
option tcplog
option forwardfor
bind 172.16.200.24:80
mode http
default_backend 8b40205b-b85d-434e-bb4f-e37218f7d6d9
backend 8b40205b-b85d-434e-bb4f-e37218f7d6d9
mode http
balance roundrobin
timeout check 5
server 221d134c-3091-4c32-8498-bab2a1eb3097 172.16.200.7:8000 weight 100 check inter 5s fall 3
server 1dac2daa-b0ea-435f-86bb-fb9e4a30ac37 172.16.200.6:8000 weight 100 check inter 5s fall 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment