]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Fix typo in iif() example
authorTim Duesterhus <duesterhus@woltlab.com>
Fri, 11 Sep 2020 15:13:12 +0000 (17:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Sep 2020 16:02:34 +0000 (18:02 +0200)
It should read 'iif', not 'iff'.

Reported-by: Miroslav Zagorac <zaga@fly-etf.net>
doc/configuration.txt

index 0e34f620db5a4c03eee10e4cec2f549aa1a5e601..075d3d5c8acdb438ccea89f87c80a6c2dcdd6aec 100644 (file)
@@ -15155,7 +15155,7 @@ iif(<true>,<false>)
   string otherwise.
 
   Example:
-    http-request set-header x-forwarded-proto %[ssl_fc,iff(https,http)]
+    http-request set-header x-forwarded-proto %[ssl_fc,iif(https,http)]
 
 in_table(<table>)
   Uses the string representation of the input sample to perform a look up in