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

Fix LOCAL_HTTPS causing healthchecks to fail #5

Closed
johnschultz opened this issue Apr 20, 2017 · 0 comments
Closed

Fix LOCAL_HTTPS causing healthchecks to fail #5

johnschultz opened this issue Apr 20, 2017 · 0 comments
Assignees
Labels
Projects

Comments

@johnschultz
Copy link
Owner

Problem

Using LOCAL_HTTPS=true causes Mastodon to return 301 instead of 200 to the healthchecks, so it never gets set as ready.

Solution

Add X-Forwarded-Procotol: https to the headers of the health and liveness checks.

See https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#defining-a-liveness-http-request

@johnschultz johnschultz added this to the Submit to Prototype Repo milestone Apr 20, 2017
@johnschultz johnschultz self-assigned this Apr 20, 2017
@johnschultz johnschultz added this to In Progress in Work Board Apr 20, 2017
@johnschultz johnschultz moved this from In Progress to Review in Work Board Apr 20, 2017
@johnschultz johnschultz moved this from Review to Done in Work Board Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant