Invalid HTTP_HOST header:xxxyou may need to add  'xxx' to ALLOW_HOSTS

在setting里面的ALLOW_HOSTS加入该ip

关闭debug模式之后,报400错误

在ALLOW_HOSTS = ['*']

相关文章: