Cloud 增加 Spring Boot Admin 的转发规则

This commit is contained in:
YunaiV 2023-04-09 17:20:55 +08:00
parent b56c3b0e00
commit f5dcdfeea4

View File

@ -31,6 +31,10 @@ spring:
- Path=/app-api/infra/**
filters:
- RewritePath=/app-api/infra/v3/api-docs, /v3/api-docs
- id: infra-spring-boot-admin # 路由的编号Spring Boot Admin
uri: grayLb://infra-server
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
- Path=/admin/**
- id: bpm-admin-api # 路由的编号
uri: grayLb://bpm-server
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组