about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-11-27 15:08:58 +0100
committerAlan Pearce2024-11-27 15:08:58 +0100
commit1bde2cfdb2a75563a5f264484d6d76d1deac5e56 (patch)
treec5a00a7bfec14c1de8ed32d07032608d10ebc636
parent8ecb3549518646e39ec7df0079ae6cad3384271a (diff)
downloadwebsite-1bde2cfdb2a75563a5f264484d6d76d1deac5e56.tar.lz
website-1bde2cfdb2a75563a5f264484d6d76d1deac5e56.tar.zst
website-1bde2cfdb2a75563a5f264484d6d76d1deac5e56.zip
Re-add health checks
-rw-r--r--fly.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
index 024d3ef..8f08ac1 100644
--- a/fly.toml
+++ b/fly.toml
@@ -42,6 +42,15 @@ primary_region = "ams"
     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"