配置Haproxy

  1.解压Haproxy到d:\haproxy

  2.置haproxy.cfg文件

global  
        log 127.0.0.1   local0   
        maxconn 1500   
        daemon  
   
defaults  
        log     127.0.0.1       local3  
        mode    http  
        option  httplog  
        option  dontlognull  
        option  redispatch  
        retries 3  
        contimeout    5000  
        clitimeout      50000  
        srvtimeout     50000  
  
listen private_monitoring :18100   #监听端口         
        mode http
    option httplog
    stats enable
    stats uri /stats
    stats refresh 5s
  
View Code

相关文章:

  • 2022-12-23
  • 2021-04-16
  • 2021-11-12
  • 2021-10-15
  • 2021-06-22
  • 2021-04-07
  • 2021-12-25
猜你喜欢
  • 2021-05-09
  • 2022-12-23
  • 2021-06-07
  • 2021-07-29
  • 2021-07-16
相关资源
相似解决方案