From 06b505717e6b2163c346bb2a62fcd6d6278032c2 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 25 Nov 2014 09:50:31 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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).