backend web112 {                    ##backend名稱
        .host = "192.168.2.112";    ##backend ip
        .port = "80";                ##backend listen port
        .probe = {
                .url = "/robots.txt";    ##health check 網址
                .timeout = 1s;            ##多久沒回應就算sick
                .interval = 3s;            ##間隔多久時間check 一次
                .window = 5;            ##取樣次數
                .threshold = 3;            ##可容忍的值,example: check五次如果三次以上正常,就當成這個backend 正常
        }
}

undefined
簡明python學習講義

作者: 吳維漢, 中央大學出版中心  
出版社:遠流  
 

arrow
arrow
    文章標籤
    varnish
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()