From 7774c2b803bcab4cec249e7e82654bec6f0a1f3a Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov <alexander.yastrebov@zalando.de> Date: Thu, 12 Dec 2024 19:45:03 +0100 Subject: [PATCH] docs: add a note about -proxy-preserve-host flag Add a note about the flag to `preserveHost` filter docs. Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de> --- docs/reference/filters.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reference/filters.md b/docs/reference/filters.md index 015f35d185..3f2e2d5548 100644 --- a/docs/reference/filters.md +++ b/docs/reference/filters.md @@ -115,6 +115,8 @@ Example: route1: * -> preserveHost("true") -> "http://backend.example.org"; ``` +Default `proxyPreserveHost` behavior can be configured by `-proxy-preserve-host` flag which is `false` by default. + ### modRequestHeader Replace all matched regex expressions in the given header.