all repos — website @ bda735d7c10edb9e28322a5b485bc7e34ba1a358

My website

re-add health checks
Alan Pearce alan@alanpearce.eu
Mon, 24 Jun 2024 19:01:34 +0200
commit

bda735d7c10edb9e28322a5b485bc7e34ba1a358

parent

aabc9bac7a291d0d7f0bf3432cb73ff7227c4444

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M fly.tomlfly.toml
@@ -33,6 +33,15 @@ [services.concurrency]     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"