a guest Feb 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import flask
- app = Flask(__name__)
- 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)
RAW Paste Data