參考資料:
https://book.varnish-software.com/3.0/Saving_a_request.html
Note Varnish does NOT send a Host header with health checks. If you need that, you can define the entire request using .request instead of .url.

解決方式:
改用 .request 來取代原先的 .url 
backend one {
        .host = "example.com";
        .probe = {
                .request =
                        "GET / HTTP/1.1"
                        "Host: www.foo.bar"
                        "Connection: close";
        }
}
 

arrow
arrow
    文章標籤
    varnish
    全站熱搜

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