Skip to content

Commit

Permalink
Clarified zuul.stripPrefix usage
Browse files Browse the repository at this point in the history
Helps with the confusion seen in #1365
  • Loading branch information
ryanjbaxter committed Oct 3, 2016
1 parent 8e1be54 commit 4ba3411
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/main/asciidoc/spring-cloud-netflix.adoc
Expand Up @@ -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
Expand Down

0 comments on commit 4ba3411

Please sign in to comment.