mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 07:43:44 +00:00
Clarified zuul.stripPrefix usage
Helps with the confusion seen in #1365
This commit is contained in:
@@ -1305,6 +1305,9 @@ the service-specific prefix from individual routes, e.g.
|
||||
stripPrefix: false
|
||||
----
|
||||
|
||||
NOTE: `zuul.stripPrefix` only applies to the prefix set in `zuul.prefix`. It does have any effect on prefixes
|
||||
defined within a given route's `path`.
|
||||
|
||||
In this example, requests to "/myusers/101" will be forwarded to "/myusers/101" on the "users" service.
|
||||
|
||||
The `zuul.routes` entries actually bind to an object of type `ZuulProperties`. If you
|
||||
|
||||
Reference in New Issue
Block a user