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
bf77721c
Commit
bf77721c
authored
Mar 12, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the impact of UDS on varnishncsa in "Upgrading to 6.0".
parent
570a92be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
upgrading-6.0.rst
doc/sphinx/whats-new/upgrading-6.0.rst
+26
-0
No files found.
doc/sphinx/whats-new/upgrading-6.0.rst
View file @
bf77721c
...
@@ -429,6 +429,32 @@ Other changes
...
@@ -429,6 +429,32 @@ Other changes
with the backend name field -- the second field in
with the backend name field -- the second field in
``BackendOpen``.
``BackendOpen``.
* ``varnishncsa(1)``
* The ``%h`` formatter (remote host) gets its value from
``ReqStart`` for client requests and ``BackendStart`` for backend
requests. The value will be ``0.0.0.0`` for client requests when
the listener is UDS, and for backend requests when the backend is
UDS.
* The ``%r`` formatter (first line of the request) is reconstructed
in part from the Host request header. For UDS backends, Host may
be ``0.0.0.0`` for the reasons explained above (no client Host
header and no ``.host_header`` setting for the backend), so that
may appear in the output for ``%r``. You can avoid that with the
measures discussed above.
* If you have more than one UDS listener and/or more than one UDS
backend, and you want to tell them apart in the ``varnishncsa``
output (rather than just see ``0.0.0.0``), use the ``%{VSL}x``
formatter to capture the listener name and the backend name.
For the listener name, use ``%{VSL:ReqStart[3]}x`` for client logs
(the third field of ``ReqStart`` logs).
For the backend name, use ``%{VSL:BackendOpen[2]}x`` for backend
logs.
* ``varnishtest(1)`` and ``vtc(7)``:
* ``varnishtest(1)`` and ``vtc(7)``:
* The ``client -connect`` and ``server -listen`` commands in vtc
* The ``client -connect`` and ``server -listen`` commands in vtc
...
...
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