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
0244e1cb
Unverified
Commit
0244e1cb
authored
May 24, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix/polish .port VCL backend attribute documentation
parent
9134cdea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
b00058.vtc
bin/varnishtest/tests/b00058.vtc
+12
-0
vcl-backend.rst
doc/sphinx/reference/vcl-backend.rst
+10
-3
No files found.
bin/varnishtest/tests/b00058.vtc
0 → 100644
View file @
0244e1cb
varnishtest "Test backend definition documentation examples"
feature cmd {getent hosts localhost && getent services http}
varnish v1 -arg "-p vcc_err_unref=off" -vcl {
backend b1 {.host = "127.0.0.1";}
backend b2 {.host = "[::1]:8080";}
backend b3 {.host = "localhost:8081";}
backend b4 {.host = "localhost:http";}
backend b5 {.host = "127.0.0.1";.port = "8081";}
backend b6 {.host = "127.0.0.1";.port = "http";}
}
\ No newline at end of file
doc/sphinx/reference/vcl-backend.rst
View file @
0244e1cb
...
@@ -57,10 +57,17 @@ one IPv4 and one IPv6 address::
...
@@ -57,10 +57,17 @@ one IPv4 and one IPv6 address::
.host = "example.com:8081";
.host = "example.com:8081";
The TCP port number can be specified as part of ``.host`` as above
.host = "example.com:http";
or separately using the ``.port`` attribute::
.port = 8081;
Attribute ``.port``
-------------------
The TCP port number or service name can be specified as part of
``.host`` as above or separately using the ``.port`` attribute::
.port = "8081";
.port = "http";
Attribute ``.path``
Attribute ``.path``
-------------------
-------------------
...
...
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