Unverified Commit 72ccf2e6 by Ryan Baxter Committed by Spencer Gibb

Added route config

parent 3df42159
......@@ -1618,7 +1618,7 @@ as a fallback. Here is a very simple `ZuulFallbackProvider` implementation.
class MyFallbackProvider implements ZuulFallbackProvider {
@Override
public String getRoute() {
return "zuulserver";
return "customers";
}
@Override
......@@ -1660,6 +1660,15 @@ class MyFallbackProvider implements ZuulFallbackProvider {
}
----
And here is what the route configuration would look like.
[source,yaml]
----
zuul:
routes:
customers: /customers/**
----
=== Polyglot support with Sidecar
Do you have non-jvm languages you want to take advantage of Eureka, Ribbon and
......
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