This is an automated email from the ASF dual-hosted git repository.
bnolsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 844d901ba8 docs: fix header rewrite nexthop sample usage (#11444)
844d901ba8 is described below
commit 844d901ba857d23b2044969835327730878504ef
Author: Brian Olsen <[email protected]>
AuthorDate: Thu Jun 13 09:51:39 2024 -0600
docs: fix header rewrite nexthop sample usage (#11444)
Co-authored-by: Brian Olsen <[email protected]>
---
doc/admin-guide/plugins/header_rewrite.en.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst
b/doc/admin-guide/plugins/header_rewrite.en.rst
index 97035153fb..a5128b698f 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -255,13 +255,13 @@ as part of the ``SEND_REQUEST_HDR_HOOK``.
For example::
- cond %{SEND_RESPONSE_HDR_HOOK} [AND]
+ cond %{SEND_REQUEST_HDR_HOOK} [AND]
cond %{NEXT-HOP:HOST} =www.firstparent.com
- set-header HOST vhost.firstparent.com
+ set-header Host vhost.firstparent.com
- cond %{SEND_RESPONSE_HDR_HOOK} [AND]
+ cond %{SEND_REQUEST_HDR_HOOK} [AND]
cond %{NEXT-HOP:HOST} =www.secondparent.com
- set-header HOST vhost.secondparent.com
+ set-header Host vhost.secondparent.com
GEO
~~~