Force SSL on your Flask app.
This is a simple Flask extension that configures your Flask application to redirect all incoming requests to https.
Redirects only occur when app.debug is False.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.