Cloud 增加 Spring Boot Admin 的转发规则
This commit is contained in:
parent
b56c3b0e00
commit
f5dcdfeea4
@ -31,6 +31,10 @@ spring:
|
|||||||
- Path=/app-api/infra/**
|
- Path=/app-api/infra/**
|
||||||
filters:
|
filters:
|
||||||
- RewritePath=/app-api/infra/v3/api-docs, /v3/api-docs
|
- 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 # 路由的编号
|
- id: bpm-admin-api # 路由的编号
|
||||||
uri: grayLb://bpm-server
|
uri: grayLb://bpm-server
|
||||||
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
||||||
|
Loading…
Reference in New Issue
Block a user