add health check for backend
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -45,6 +45,6 @@ spring:
|
|||||||
- id: token-service
|
- id: token-service
|
||||||
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
uri: ${BACKEND_SERVICE_URI:http://backend-service.web:8080}
|
||||||
predicates:
|
predicates:
|
||||||
- Path=/v1/token/**
|
- Path=/v1/token/**, /health/backend
|
||||||
filters:
|
filters:
|
||||||
- AuthGatewayFilter
|
- RewritePath=/health/backend, /actuator/health
|
||||||
|
Reference in New Issue
Block a user