From 779b7fc2805f92923bd5d8367a582128090edfa7 Mon Sep 17 00:00:00 2001 From: Julien S Date: Mon, 8 Sep 2025 11:37:16 +0200 Subject: [PATCH] Update waf-app-gateway.md Fixed a mistake in the documentation to save the X-Forwarded-Host based on {var_host} rather than {host} --- articles/container-apps/waf-app-gateway.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/container-apps/waf-app-gateway.md b/articles/container-apps/waf-app-gateway.md index 04ba005f9dc7b..4a6a48fce61d3 100644 --- a/articles/container-apps/waf-app-gateway.md +++ b/articles/container-apps/waf-app-gateway.md @@ -283,7 +283,7 @@ To connect the frontend and backend pool, perform the following steps: - Enable Request Header Rewrite: Select **Yes**. - Add a request header: - Header name: `X-Forwarded-Host` - - Value: `{host}` + - Value: `{var_host}` This action ensures that the original `Host` header from the client request is preserved and accessible by the backend application.