Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import flask
- app = Flask(__name__)
- @app.route("/")
- def helloworld():
- return "hello world!"
- if __name__ == '__main__':
- context = ('etc/apache2/ssl/apache.crt', 'etc/apache2/ssl/apache.key')
- app.run(ssl_context=context, debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement