Repository navigation
v0.12.4
-
Health checks answer for any host. Bunny Magic Containers calls
/readyzon the container's own address, which is not in
ALLOWED_HOSTS, so Django answered "Invalid HTTP_HOST header" and the
container never became ready. The new
django_stack.contrib.health.middleware.HealthCheckMiddlewareserves
/healthzand/readyzbefore the host check; every other path still
checks it. In an existing project, add it toMIDDLEWAREin
config/settings.py, right afterdjango_stack.logs.RequestIdMiddleware. -
Database passwords with special characters. A database URL pasted
with a raw@,#,/,?or%in the password, or written by hand
inPRODUCTION_DATABASE_URL, was used as it was, so Umami and Django
could not read the password.initandproductionnow URL-encode the
user name and password, and an encoded one stays as it is. Run
dstack productionagain to fix.env.production.