Skip to content

Commit

Permalink
Add headers to health check in fly.toml (#115)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dealloc authored Nov 12, 2024
1 parent 24f0620 commit 88d32c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit 88d32c0

Please sign in to comment.