As the title says, deploys great with Health Check set to TCP, whole service works fine. But if Health Check is set to HTTP on / then
gunicorn core.wsgi:application gives 400.
My guess is it’s an ALLOWED_HOSTS issue. In the environment variables, it’s set to
127.0.0.1,localhost,<domain of app> which works when deployed. But if Health Check is hitting a different domain, my guess is this won’t work?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.