Commit 6365dcac by 袁伟铭

1.0.0

parent c8172399
...@@ -19,26 +19,30 @@ spring: ...@@ -19,26 +19,30 @@ spring:
allowedHeaders: "Content-type, Authorization" allowedHeaders: "Content-type, Authorization"
maxAge: 3600 maxAge: 3600
routes: routes:
- id: file - id: api
uri: lb://${file.name} uri: lb://${api.name}
predicates: predicates:
- Path=/file/** - Path=/api/**
# filters:
# - StripPrefix= 2 - id: sys
uri: lb://${sys.name}
predicates:
- Path=/sys/**, /webSocket/**
- id: oauth - id: oauth
uri: lb://${oauth.name} uri: lb://${oauth.name}
predicates: predicates:
- Path=/oauth/** - Path=/oauth/**
- id: sys
uri: lb://${sys.name} - id: file
uri: lb://${file.name}
predicates: predicates:
- Path=/sys/**, /webSocket/** - Path=/file/**
# filters:
# - StripPrefix= 2
- id: cms - id: cms
uri: lb://${cms.name} uri: lb://${cms.name}
predicates: predicates:
- Path=/cms/** - Path=/cms/**
- id: api
uri: lb://${api.name}
predicates:
- Path=/api/**
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment