all repos — website @ 1bde2cfdb2a75563a5f264484d6d76d1deac5e56

My website

Re-add health checks
Alan Pearce alan@alanpearce.eu
Wed, 27 Nov 2024 15:08:58 +0100
commit

1bde2cfdb2a75563a5f264484d6d76d1deac5e56

parent

8ecb3549518646e39ec7df0079ae6cad3384271a

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

jump to
M fly.tomlfly.toml
@@ -42,6 +42,15 @@ [services.concurrency]     type = "requests"
     soft_limit = 15000
 
+  [[services.http_checks]]
+    grace_period = "10s"
+    protocol = "https"
+    tls_server_name = "alanpearce.eu"
+    interval = "10s"
+    method = "GET"
+    timeout = "1s"
+    path = "/health"
+
 [[vm]]
   size = "shared-cpu-1x"