1 回答
- 最新
- 投票最多
- 评论最多
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
已回答 3 年前
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 6 年前