From bda735d7c10edb9e28322a5b485bc7e34ba1a358 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Jun 2024 19:01:34 +0200 Subject: re-add health checks --- fly.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fly.toml b/fly.toml index 45f70ee..f0947d6 100644 --- a/fly.toml +++ b/fly.toml @@ -33,6 +33,15 @@ primary_region = "ams" type = "requests" soft_limit = 15000 + [[services.http_checks]] + grace_period = "10s" + protocol = "https" + tls_server_name = "alanpearce-eu.fly.dev" + interval = "10s" + method = "GET" + timeout = "1s" + path = "/health" + [[vm]] size = "shared-cpu-1x" -- cgit 1.4.1