about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2023-09-16 12:58:46 +0200
committerAlan Pearce2023-09-16 12:58:46 +0200
commit69603c41527237d2404569b41e110da6633f592f (patch)
tree7560c481194c5d37fca5e54ca7aa64eb7366d56b /fly.toml
parentf91b21742c5f6880e56ae96e1bd94861d217b101 (diff)
downloadwebsite-69603c41527237d2404569b41e110da6633f592f.tar.lz
website-69603c41527237d2404569b41e110da6633f592f.tar.zst
website-69603c41527237d2404569b41e110da6633f592f.zip
add HTTP service checks
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml6
1 files changed, 6 insertions, 0 deletions
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 = "/"