Relative Content

Tag Archive for djangokubernetesnginxgunicornbad-request

Bad Request (400): Django / Nginx / Gunicorn / Kubernetes

I have a Django project running on Kubernetes with Redis, Postgres, Celery, Flower, and Nginx. I deploy it using Minikube and Kubectl on my localhost. Everything looks fine; the pod logs appear good, but when I’m trying to tunnel the Nginx service, it returns a Bad Request (400). The logs, the project files, the dockerfile, and the different YAML files are attached.