The health check will answer with status
200 OK on every port with the configured
health_path setting or the
COUPER_HEALTH_PATH environment variable.
As soon as the gateway instance receives a
SIGTERM the check will return a status
500 Internal Server Error.
A shutdown delay (environment variable
allows the server to finish all running requests and gives a load balancer time to pick another gateway instance.
After this delay the server goes into shutdown mode and no new requests will be accepted.
The shutdown timings (
0 which means no delaying with development setups.