Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
625f53b3
Commit
625f53b3
authored
Feb 25, 2014
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettier formatting of RST lists.
Remove the last few tabs that was forgotten on the last commit.
parent
fd2f5191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
vcl-backends.rst
doc/sphinx/users-guide/vcl-backends.rst
+9
-9
No files found.
doc/sphinx/users-guide/vcl-backends.rst
View file @
625f53b3
...
...
@@ -124,11 +124,11 @@ call certain actions in vcl_init.::
import directors; # load the directors
backend server1 {
.host = "192.168.0.10";
}
backend server2
{
.host = "192.168.0.10";
}
.host = "192.168.0.10";
}
backend server2
{
.host = "192.168.0.10";
}
sub vcl_init {
new bar = directors.round_robin();
...
...
@@ -138,7 +138,7 @@ call certain actions in vcl_init.::
sub vcl_recv {
# send all traffic to the bar director:
req.backend = bar.backend();
req.backend = bar.backend();
}
This director is a round-robin director. This means the director will
...
...
@@ -170,14 +170,14 @@ define the backends.::
}
backend server2 {
.host = "server2.example.com";
.probe = {
.host = "server2.example.com";
.probe = {
.url = "/";
.interval = 5s;
.timeout = 1 s;
.window = 5;
.threshold = 3;
}
}
}
Whats new here is the probe. Varnish will check the health of each
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment