Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add headers to health check in fly.toml #115

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

dealloc
Copy link
Member

@dealloc dealloc commented Nov 12, 2024

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 runs a health check on the HTTP endpoint when deploying, however after #114 every request without the X-Super-* headers failed causing health checks to fail (and thus also the deployment).

this is already deployed manually to maintain uptime, but to avoid future deploys breaking again there's this PR

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.
@dealloc dealloc added the bug Something isn't working label Nov 12, 2024
@dealloc dealloc added this to the V1 milestone Nov 12, 2024
@dealloc dealloc requested review from lambstream, chatterchats and a team November 12, 2024 09:49
@lambstream lambstream merged commit 88d32c0 into master Nov 12, 2024
3 checks passed
@lambstream lambstream deleted the hotfix/health-checks branch November 12, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants