Added Spring Cloud Gateway
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
server:
|
||||
port: 9080
|
||||
spring:
|
||||
application:
|
||||
name: kilimo-gateway
|
||||
cloud:
|
||||
gateway:
|
||||
httpclient:
|
||||
connect-timeout: 5000
|
||||
response-timeout: 10s
|
||||
routes:
|
||||
- id: kilimo_service_route
|
||||
uri: http://localhost:9081
|
||||
predicates:
|
||||
- Path=/users/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
Reference in New Issue
Block a user