Django, Gunicorn, Systemd Errors

gunicorn.errors.HaltServer: <HaltServer ‘Worker failed to boot.’ 3>

journalctl --unit=gunicorn | tail -n 100
export MY_KEY=123
export MY_OTHER_KEY=aaa

Correct format:

MY_KEY=123
MY_OTHER_KEY=aaauld
# settings.py
ALLOWED_HOSTS = ["example.com", "www.example.com"]
"GET / HTTP/1.1" 301 0
code 400, message Bad HTTP/0.9 request type
You're accessing the development server over HTTPS, but it only supports HTTP.

Software Engineer living in Tokyo | Linux | Cats | https://github.com/kai-dg | https://haruspace.dev | https://ko-fi.com/harukai

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store