Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.53k stars 2.38k forks source link

more than 1 matching path causing request forwarding causing issues #521

Closed userAshish closed 1 week ago

userAshish commented 6 years ago
 cxp-customerAuthenticateMethods-Path:
      path: //customer/authentication
      serviceId: my-service-1
      stripPrefix: false
 cxp-customer-path:
      path: /customer/**
      stripPrefix: false
      url: myotherservces.com

for my request http://api-gateway-host.com**/customer/authentication, I expected this request to be forwarded to first matching entry but its getting forwarded to customer/** (i.e 2nd match) what I can do to fix this issue

Note: first math is having a Eureka registered service ID and 2nd match customer/** is forwarding it to url

artgon commented 6 years ago

Are you using spring-cloud for that routing config?

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 week ago

This issue was closed because it has been stalled for 7 days with no activity.