not-kennethreitz / flask-sslify

Force SSL on your Flask app.
https://pypi.python.org/pypi/Flask-SSLify
BSD 2-Clause "Simplified" License
503 stars 85 forks source link

It does not work for me. Does server port matter? #39

Closed aetherwu closed 5 years ago

aetherwu commented 8 years ago

I used: http://myserver.com:8080/ and turned debug mode to False.

'app.run(host='0.0.0.0', port=8080, debug=False, ssl_context=context )'

The https server works properly. But it returns saying: unepectedly dropped the connection...

pims commented 7 years ago

@aetherwu in case you’re still facing the same issue.

If you set debug=False, you need to connect to your server over https not http.

Projjol-zz commented 5 years ago

Closing due to inactivity 👍