#error at ALLOWED_HOST while deploying

1 messages · Page 1 of 1 (latest)

limpid anchor
#

getting Invalid HTTP_HOST header: 'localhost'. You may need to add 'localhost' to ALLOWED_HOSTS
while checking sudo journalctl -u gunicorn this command

placid aurora
#

And whats your allowed hosts..?

dusty hare
#

As I know, the ALLOWED_HOTST could be define in the settings.py. Maybe you didn't specify it?