Created
September 3, 2016 19:50
-
-
Save LarsBergqvist/988ba8066930b5db1592a52eed10f6e7 to your computer and use it in GitHub Desktop.
Starting flask with SSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context = ('ssl.cert', 'ssl.key') | |
app.run(host='0.0.0.0', port=80, ssl_context=context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment