Updated gateway
This commit is contained in:
@@ -5,13 +5,17 @@ spring:
|
||||
name: kilimo-gateway
|
||||
cloud:
|
||||
gateway:
|
||||
httpclient:
|
||||
connect-timeout: 5000
|
||||
response-timeout: 10s
|
||||
routes:
|
||||
- id: kilimo_service_route
|
||||
- id: kilimo_core_service
|
||||
uri: http://localhost:9081
|
||||
predicates:
|
||||
- Path=/users/**
|
||||
- Path=/core/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
- RewritePath=/core/(?<segment>.*), /$\{segment}
|
||||
|
||||
- id: kilimo_assistant_service
|
||||
uri: http://localhost:9082
|
||||
predicates:
|
||||
- Path=/assistant/**
|
||||
filters:
|
||||
- RewritePath=/assistant/(?<segment>.*), /$\{segment}
|
||||
Reference in New Issue
Block a user