Skip to content

Commit

Permalink
Backend probes: include a user-agent, makes it easier to identify the…
Browse files Browse the repository at this point in the history
…se requests on the backend
  • Loading branch information
mattiasgeniar committed Nov 17, 2015
1 parent 7ec9f21 commit 8447624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion default.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ backend server1 { # Define one backend
.request =
"HEAD / HTTP/1.1"
"Host: localhost"
"Connection: close";
"Connection: close"
"User-Agent: Varnish Health Probe";

.interval = 5s; # check the health of each backend every 5 seconds
.timeout = 1s; # timing out after 1 second.
Expand Down

0 comments on commit 8447624

Please sign in to comment.