我在Heroku(Cedar堆栈)上有python/django应用程序,并希望只通过https访问它.我启用了"ssl piggyback"-option,并可以通过https连接到它.
但是,禁用http访问或重定向到https的最佳方法是什么?
python django ssl https heroku
django ×1
heroku ×1
https ×1
python ×1
ssl ×1