about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-24 19:01:34 +0200
committerAlan Pearce2024-06-24 21:14:37 +0200
commitbda735d7c10edb9e28322a5b485bc7e34ba1a358 (patch)
treedad662ece7db7fb18003a42f7ddcd023a855f638
parentaabc9bac7a291d0d7f0bf3432cb73ff7227c4444 (diff)
downloadwebsite-bda735d7c10edb9e28322a5b485bc7e34ba1a358.tar.lz
website-bda735d7c10edb9e28322a5b485bc7e34ba1a358.tar.zst
website-bda735d7c10edb9e28322a5b485bc7e34ba1a358.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 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"