所以, 你没关 debug ,,,牛逼.........
DisallowedHost at /
Invalid HTTP_HOST header: '3.0.125.21'. You may need to add '3.0.125.21' to ALLOWED_HOSTS.
Request Method: GET
Request URL: https://3.0.125.21/
Django Version: 2.1.5
Exception Type: DisallowedHost
Exception Value:
Invalid HTTP_HOST header: '3.0.125.21'. You may need to add '3.0.125.21' to ALLOWED_HOSTS.
Exception Location: /home/ubuntu/.local/lib/python3.5/site-packages/django/http/
request.py in get_host, line 106
Python Executable: /home/ubuntu/.local/bin/uwsgi
Python Version: 3.5.2
Python Path:
['.',
'',
'/usr/lib/python35.zip',
'/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/usr/lib/python3.5/lib-dynload',
'/home/ubuntu/.local/lib/python3.5/site-packages',
'/usr/local/lib/python3.5/dist-packages',
'/usr/lib/python3/dist-packages']
Server time: 星期一, 11 三月 2019 14:01:40 +0800