Commit e732dd37 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Make b1 and b2 look similar, and more compact

parent 5ac1172f
...@@ -29,18 +29,13 @@ server s1 { ...@@ -29,18 +29,13 @@ server s1 {
varnish v1 -vcl { varnish v1 -vcl {
backend b1 { backend b1 {
.host = "${s1_addr}"; .host = "${s1_sock}";
.port = "${s1_port}"; .probe = { .interval = 1s; }
.probe = {
.interval = 1s;
}
} }
backend b2 { backend b2 {
.host = "${bad_backend}"; .host = "${bad_backend}";
.probe = { .probe = { .interval = 24h; }
.interval = 24h;
}
} }
sub vcl_recv { sub vcl_recv {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment