Relative Content

Tag Archive for djangoamazon-web-servicesamazon-lightsaillightsail-container-service

Lightsail deployment logging; Invalid HTTP_HOST header:You may need to add ‘****’ to ALLOWED_HOSTS

I am deploying a containerised application on Lightsail and whilst the deployment itself is successful, logging shows hundreds of these messages from the same ip address, my assumption is this is some sort of automated process that’s failing. I have set the allowed_hosts to just the Lightsail generated url (w/o https//.com etc.) and so I have no idea where this extra ip is coming from. I can’t find anything which says I need to have an extra ip on allowed_hosts.