zoukankan      html  css  js  c++  java
  • haproxy 配置缺省的webserver

            retries 3
            option  redispatch
            option  abortonclose
            maxconn 65535
            timeout connect 5000
            timeout client  50000
            timeout server 50000
    
            timeout check   5s
            stats   refresh 30s
            stats   uri     /stats
            stats   realm   baison-test-Haproxy
            stats   auth    admin:admin
            stats   hide-version
    
    frontend        www
            bind            192.168.32.11:80
    
    
    #
            acl             url_static              path_end                .html .gif .png .jpg .css .js
            use_backend      webserver_8001         if                      url_static
    
            default_backend  webserver_8001
    
    backend webserver_8001
            mode            http
            balance         roundrobin
            server          webhost01_8001          192.168.32.11:8001     check inter 2000 fall 3 weight 20

  • 相关阅读:
    JS
    JS
    JS
    VUE
    element-ui 进入页面 message 自动触发的问题
    JS-数组中常用的方法
    CSS-transition简单过渡动画
    vue
    JS
    2021要买的书籍
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13351375.html
Copyright © 2011-2022 走看看