Hacker News new | ask | show | jobs
by ch0wn 4904 days ago
And for Flask users there is flask-sslify[0] by Kenneth Reitz for this.

[0] https://github.com/kennethreitz/flask-sslify

1 comments

I presume something like this is only useful for services like Heroku where you can't set it in your webserver directly?
It's also useful if your app requirements trump deployment requirements. You might want a particular app to always require SSL, regardless of how it is deployed.