Awesome
turner-defaultbackend
A trivial web service that returns 501 Not Implemented for all requests except of health checks, which get 200 OK.
Configuration via the following env variables (all are optional):
PORT
(default: 8001) - the port to listen onHEALTHCHECK
: (default: /healthz) - the URL that should return 200 OKPRODUCT
(default: "") - for inclusion in the body of the HEALTHCHECK responseENVIRONMENT
(default: "") - for inclusion in the body of the HEALTHCHECK responseENABLE_LOGGING
- set totrue
to log requests to stdout