I have several Django projects published, and I constantly get my email inbox and log files inundated with errors of spiders and hack attempts to connect to my applications. Those error messages have the email subject: “[Django] ERROR (EXTERNAL IP): Invalid HTTP_HOST …”. This is due to a Django’s security setting ALLOWED_HOSTS to prevent attacks. […]
![Invalid HTTP_HOST error log](https://i0.wp.com/blog.gabrielsaldana.org/wp-content/uploads/2016/03/25840656276_fc04c48e53_z.jpg?fit=640%2C427&ssl=1)
You must be logged in to post a comment.