From 69603c41527237d2404569b41e110da6633f592f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Sep 2023 12:58:46 +0200 Subject: add HTTP service checks --- fly.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fly.toml') diff --git a/fly.toml b/fly.toml index 6d8757f..ac2573f 100644 --- a/fly.toml +++ b/fly.toml @@ -21,3 +21,9 @@ primary_region = "ams" processes = ["app"] [http_service.http_options.response.headers] Strict-Transport-Security = "max-age=31536000; includeSubdomains; preload" +[[http_service.checks]] + grace_period = "10s" + interval = "30s" + method = "GET" + timeout = "5s" + path = "/" -- cgit 1.4.1