Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import flask
  2. app = Flask(__name__)
  3.  
  4. @app.route("/")
  5. def helloworld():
  6. return "hello world!"
  7.  
  8. if __name__ == '__main__':
  9. context = ('etc/apache2/ssl/apache.crt', 'etc/apache2/ssl/apache.key')
  10. app.run(ssl_context=context, debug=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement