]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: fix wrong copy-paste in the rspdel example
authorWilly Tarreau <w@1wt.eu>
Sat, 25 May 2013 06:31:25 +0000 (08:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 May 2013 06:31:25 +0000 (08:31 +0200)
As reported by Cristian Ditoiu, the rspdel example is based on the reqrep
action, which is quite confusing!

doc/configuration.txt

index 9fed5c8b09451cdfdd6112c3e905f0f75eb55d7a..4561741104f6680d840d69eba9dd64a1a4fb3ee4 100644 (file)
@@ -5011,7 +5011,7 @@ rspidel <search> [{if | unless} <cond>]  (ignore case)
 
   Example :
      # remove the Server header from responses
-     reqidel ^Server:.*
+     rspidel ^Server:.*
 
   See also: "rspadd", "rsprep", "reqdel", section 6 about HTTP header
             manipulation, and section 7 about ACLs.