1 from app import create_app
\r
3 if __name__ == '__main__':
\r
6 # Set SSL context with the certificate chain and the private RSA key.
\r
7 context = ('opt/cert/otf.pem', 'opt/cert/privateKey.pem')
\r
9 debug=app.config['DEBUG'],
\r
10 host='0.0.0.0', port=5000,
\r
12 ssl_context=context)
\r
14 # app.run(debug=app.config['DEBUG'], host='0.0.0.0', use_reloader=True, port=5000)