From 4ba34112928eaae77cb659d46baaff99c921bd03 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 3 Oct 2016 13:44:02 -0700 Subject: [PATCH] Clarified zuul.stripPrefix usage Helps with the confusion seen in #1365 --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 5768bf6c..8fe0017e 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -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