莫大人

上一页 1 2 3 4 5 6 7 ··· 22 下一页

2021年6月21日

1.3.6、通过Path匹配

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 11:20 莫大人 阅读(59) 评论(0) 推荐(0) 编辑

1.3.5、通过Method匹配

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 10:58 莫大人 阅读(24) 评论(0) 推荐(0) 编辑

1.3.4、通过Host匹配

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 10:57 莫大人 阅读(56) 评论(0) 推荐(0) 编辑

1.3.3、通过Header属性匹配

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 10:40 莫大人 阅读(43) 评论(0) 推荐(0) 编辑

1.3.2、通过Cookie匹配

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system4 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 10:35 莫大人 阅读(59) 评论(0) 推荐(0) 编辑

1.3.1、datetime时间-Before、After、Between

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system1 uri: https://www.baidu.com predicates: - Path=/gateway 阅读全文

posted @ 2021-06-21 09:39 莫大人 阅读(193) 评论(0) 推荐(0) 编辑

2021年6月18日

1.2、负载均衡

摘要: server: port: 8080 spring: application: name: gateway cloud: gateway: routes: - id: guo-system1 uri: lb://system-server # lb: 使用负载均衡策略 system-server代表 阅读全文

posted @ 2021-06-18 18:00 莫大人 阅读(41) 评论(0) 推荐(0) 编辑

1.1、依赖-初体验

摘要: 1、添加依赖 <!-- spring cloud gateway 依赖 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId 阅读全文

posted @ 2021-06-18 11:00 莫大人 阅读(55) 评论(0) 推荐(0) 编辑

1、springcloud gateway

摘要: 参考: https://www.cnblogs.com/babycomeon/p/11161073.html 1、springcloud gateway1.1、依赖-初体验https://www.cnblogs.com/yun965861480/p/14898651.html1.2、负载均衡http 阅读全文

posted @ 2021-06-18 10:46 莫大人 阅读(38) 评论(0) 推荐(0) 编辑

2020年12月30日

0、springboot

摘要: 在线新建springboot项目 https://start.spring.io/ 参考地址 https://github.com/battcn/spring-boot2-learning 博客 http://blog.battcn.com/2018/04/20/springboot/v2-intr 阅读全文

posted @ 2020-12-30 11:11 莫大人 阅读(62) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 22 下一页

导航