From 55f77115fea4939e84e51efa415538e0ea4b95eb Mon Sep 17 00:00:00 2001 From: Wannes Gennar Date: Tue, 12 Nov 2024 10:47:07 +0100 Subject: [PATCH] Add headers to health check in fly.toml Included headers `X-Super-Client` and `X-Super-Contact` in the health check configuration. This ensures the health check requests are properly identified and can be managed accordingly. --- fly.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fly.toml b/fly.toml index 64a8ec2..35876b2 100644 --- a/fly.toml +++ b/fly.toml @@ -37,6 +37,10 @@ path = "/metrics" method = "GET" timeout = "10s" path = "/raw/api/WarSeason/current/WarID" + [http_service.checks.headers] + X-Super-Client = "Fly Health Check" + X-Super-Contact = "fly.io" + [[vm]]