Commit 79db2722 by Spencer Gibb

added documentation for zuul options.

fixes gh-68
parent 230efab8
...@@ -504,7 +504,9 @@ Spring Cloud has created an embedded Zuul proxy to ease the development of a ver ...@@ -504,7 +504,9 @@ Spring Cloud has created an embedded Zuul proxy to ease the development of a ver
zuul.proxy.route.users: /users zuul.proxy.route.users: /users
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`.
[[netflix-zuul-server]] [[netflix-zuul-server]]
=== Standalone Zuul Server === Standalone Zuul Server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment