This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 7e66671724404b5daf202fc5ee0536dfc1957b64
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]>
    (cherry picked from commit 844d901ba857d23b2044969835327730878504ef)
---
 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 3e71b6b8d2..dca173a0b4 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
 ~~~

Reply via email to