diff --git a/spring-cloud.html b/spring-cloud.html index 07c3e54..3fe5d19 100644 --- a/spring-cloud.html +++ b/spring-cloud.html @@ -2075,7 +2075,10 @@ public class Application extends FeignConfigurer {
-

This means that http calls to /proxy/users get forwarded to the users service. This proxy configuration is useful for services that host a user interface to proxy to the backend services it requires. By default, the proxy mapping gets stripped from the request before forwarding.

+

This means that http calls to /proxy/users get forwarded to the users service. This proxy configuration is useful for services that host a user interface to proxy to the backend services it requires. To change the mapping, set zuul.proxy.mapping to a different value, such as /api. By default, the proxy mapping gets stripped from the request before forwarding. To keep the proxy mapping on the forwarded call, set zuul.proxy.stripMapping = false.

+
+
+

To have the X-Forwarded-Host header added to the forwarded requests, set zuul.proxy.addProxyHeaders = true.

@@ -2650,7 +2653,7 @@ service or the "resource" service if you have one).