varnish cahce config 2
by trisna dev
JavaScript
backend emodal {
.host = "127.0.0.1";
.port = "8080";
.probe = {
.url = "/health"; # Endpoint health check
.interval = 5s; # Interval pengecekan
.timeout = 1s; # Timeout pengecekan
.window = 5; # Jumlah request yang dipantau
.threshold = 3; # Jumlah success yang dibutuhkan
}
}
backend frestive {
.host = "127.0.0.1";
.port = "8081";
.probe = {
.url = "/health";
.interval = 5s;
.timeout = 1s;
.window = 5;
.threshold = 3;
}
}
backend lmu {
.host = "127.0.0.1";
.port = "8082";
.probe = {
.url = "/health";
.interval = 5s;
.timeout = 1s;
.window = 5;
.threshold = 3;
}
}