首页 > 其他 > 详细

【Zuul】使用学习

时间:2019-08-22 18:27:12      阅读:100      评论:0      收藏:0      [点我收藏+]

【Zuul】使用学习

添加依赖

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
</dependency>

启用zuul

@EnableZuulProxy

忽略自动生成的路由

zuul:
  ignoredServices: ‘*‘

敏感头

zuul
  sensitive-headers: 

 

【Zuul】使用学习

原文:https://www.cnblogs.com/yangchongxing/p/11396004.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!