Microservices Zuul多个通配符和嵌套路由
使用Zuul(1.3.1版),我希望配置以下路由:Microservices Zuul多个通配符和嵌套路由,microservices,netflix-zuul,spring-cloud-netflix,Microservices,Netflix Zuul,Spring Cloud Netflix,使用Zuul(1.3.1版),我希望配置以下路由: zuul: routes: serviceA: path: /us/*/a/** serviceId: serviceA strip-prefix: false serviceB: path: /us/*/b/** serviceId: serviceB str
zuul:
routes:
serviceA:
path: /us/*/a/**
serviceId: serviceA
strip-prefix: false
serviceB:
path: /us/*/b/**
serviceId: serviceB
strip-prefix: false
我找不到有关如何处理path参数以及该参数的外观的参考。Zuul似乎在我的环境中正常工作,例如,我可以成功地使用path/us/**
但是路径中的多个通配符似乎不起作用。这样行吗?如果不是的话,解决办法是什么?嵌套路由是否可行