Skip to content

Instantly share code, notes, and snippets.

@jeremyjbowers
Created December 31, 2011 02:37
Show Gist options
  • Save jeremyjbowers/1542580 to your computer and use it in GitHub Desktop.
Save jeremyjbowers/1542580 to your computer and use it in GitHub Desktop.
A demonstration of Varnish directors
director backend random {
.retries = 5;
{
.backend = {
.host = "192.168.1.100";
.port = "8000";
}
.weight = 1;
}
{
.backend = {
.host = "192.168.1.101";
.port = "8000";
}
.weight = 1;
}
{
.backend = {
.host = "192.168.1.102";
.port = "8000";
}
.weight = 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment