diff options
author | Alan Pearce | 2023-07-02 09:07:37 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-02 09:07:37 +0200 |
commit | d6bae2242d1e048866300f0e2de7f1700ce71151 (patch) | |
tree | 61f707657f10d42db9ca240da83bd7f6e0b7e372 /fly.toml | |
parent | b180e25232ba4fd943c5eb5ff6ca0a1d70ee7e16 (diff) | |
download | website-d6bae2242d1e048866300f0e2de7f1700ce71151.tar.lz website-d6bae2242d1e048866300f0e2de7f1700ce71151.tar.zst website-d6bae2242d1e048866300f0e2de7f1700ce71151.zip |
Add HTTP health check
Diffstat (limited to 'fly.toml')
-rw-r--r-- | fly.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml index 1bc1440..df32d8a 100644 --- a/fly.toml +++ b/fly.toml @@ -25,3 +25,14 @@ primary_region = "ams" handlers = ["tls"] port = "443" tls_options = { "alpn" = ["h2"] } + [[services.http_checks]] + interval = 10000 + grace_period = "5s" + method = "get" + path = "/" + protocol = "http" + restart_limit = 0 + timeout = 2000 + tls_skip_verify = false + [services.http_checks.headers] + Host = "alanpearce.eu" |