TrustedHostMiddleware was blocking localhost healthchecks from Traefik, causing 400 Bad Request errors. When behind a reverse proxy like Traefik/Coolify, host validation is handled by the proxy itself.
TrustedHostMiddleware was blocking localhost healthchecks from Traefik, causing 400 Bad Request errors. When behind a reverse proxy like Traefik/Coolify, host validation is handled by the proxy itself.