Plug that serves liveness and readiness probes.
In an endpoint (requests that do not match are passed through):
plug PhoenixHealthy.Plug, repo: MyApp.RepoIn a Phoenix router:
import PhoenixHealthy.Router
phoenix_healthy("/health", repo: MyApp.Repo)Or forward it yourself:
forward "/health", PhoenixHealthy.Plug, repo: MyApp.Repo, forward: true