所以通常我会看到,如果出现HTT_HOST HEADER错误,则会将IP添加到允许的主机中。在我的特定情况下,它没有提供该IP。
[ERROR 2018-10-17 18:36:20,893] base.py [:204] get_response: Invalid HTTP_HOST header: ''. The domain name provided is not valid according to RFC 1034/1035.
Traceback (most recent call last):
File "/opt/django/www/local/lib/python2.7/site-packages/Django-1.8-py2.7.egg/django/core/handlers/wsgi.py", line 189, in __call__
response = self.get_response(request)
关于我应该做什么的任何想法?