userlist UsersForES
user your_username insecure-password your_password
frontend elasticsearch_pwd
bind *:9201
mode http
default_backend es-nodes_pwd
backend es-nodes_pwd
acl AuthOkay_ES http_auth(UsersForES)
http-request auth realm ES if !AuthOkay_ES
mode http
balance roundrobin
option forwardfor
server es-node1.yemaosheng.com 10.0.0.2:9200 check
server es-node2.yemaosheng.com 10.0.0.3:9200 check
server es-node3.yemaosheng.com 10.0.0.4:9200 check |
userlist UsersForES
user your_username insecure-password your_password
frontend elasticsearch_pwd
bind *:9201
mode http
default_backend es-nodes_pwd
backend es-nodes_pwd
acl AuthOkay_ES http_auth(UsersForES)
http-request auth realm ES if !AuthOkay_ES
mode http
balance roundrobin
option forwardfor
server es-node1.yemaosheng.com 10.0.0.2:9200 check
server es-node2.yemaosheng.com 10.0.0.3:9200 check
server es-node3.yemaosheng.com 10.0.0.4:9200 check
Related Posts