1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
In the elastic beanstalk console, I was able to go to Logs > Request last 100 lines and see the ELB pings under /var/log/eb-docker/containers/eb-current-app/eb-stdouterr.log
:
django_1 | ERROR 2021-09-13 13:55:37,146 exception 27 140410675223368 Invalid HTTP_HOST header: '172.31.XX.XX'. You may need to add '172.31.XX.XX' to ALLOWED_HOSTS.
Also, since I’m using Docker, I found some helpful notes on this page for mounting log directories within containers to the right place via "volumes" in the docker-compose file: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker-multicontainer-migration.html
respondido há 3 anos
Conteúdo relevante
- AWS OFICIALAtualizada há um mês
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos