SHARE
TWEET

Untitled

a guest Feb 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top