问题描述
- Django 中的 http 和 https 设置问题
-
在settings里面可能是设置出问题了,总是报错:
You're accessing the development server over HTTPS, but it only supports HTTP.恢复使用原来的settings.py 也没用。
重新安装DJango也不行。求大神指导
解决方案
http://www.vpsee.com/2014/07/django-and-flask-development-server-with-https-support/
解决方案二:
http://www.ianlewis.org/en/testing-https-djangos-development-server
http://www.vpsee.com/2014/07/django-and-flask-development-server-with-https-support/
http://blog.yangyubo.com/2009/08/29/https-django-cpserver-nginx/
时间: 2024-10-14 01:08:55