Advertisement
Guest User

haproxyLB1.cfg

a guest
Feb 23rd, 2022
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. global
  2. maxconn 500
  3.  
  4. defaults
  5. mode http
  6. timeout connect 10s
  7. timeout client 50s
  8. timeout server 50s
  9.  
  10. frontend http-in
  11. bind *:9091
  12. default_backend application_nodes
  13.  
  14. backend application_nodes
  15. balance roundrobin
  16. option httpchk GET /status
  17. server server01 localhost:9092 check (тут пробовал и frontend1:9092 check тоже не подхватывает)
  18. server server02 localhost:9093 check
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement