From 93a87dc507d972db09509617f4bc6a093efa1316 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Tue, 28 Jul 2020 12:50:52 -0400 Subject: [PATCH] Fixes hop by hop filter property name. Fixes gh-1709 --- docs/src/main/asciidoc/spring-cloud-gateway.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-gateway.adoc b/docs/src/main/asciidoc/spring-cloud-gateway.adoc index eb1b008d..995a4568 100644 --- a/docs/src/main/asciidoc/spring-cloud-gateway.adoc +++ b/docs/src/main/asciidoc/spring-cloud-gateway.adoc @@ -1976,7 +1976,7 @@ The `RemoveHopByHop` Headers Filter removes headers from forwarded requests. The * Transfer-Encoding * Upgrade -To change this, set the `spring.cloud.gateway.filter.remove-non-proxy-headers.headers` property to the list of header names to remove. +To change this, set the `spring.cloud.gateway.filter.remove-hop-by-hop.headers` property to the list of header names to remove. === XForwarded Headers Filter The `XForwarded` Headers Filter creates various a `X-Forwarded-*` headers to send to the downstream service. It users the `Host` header, scheme, port and path of the current request to create the various headers.