miguelgrinberg / flask-sock

Modern WebSocket support for Flask.
MIT License
272 stars 24 forks source link

flask-sock ssl #36

Open zimsekdanilo opened 1 year ago

zimsekdanilo commented 1 year ago

How do I deploy flask-scok application with ssl? What changes should be made?

miguelgrinberg commented 1 year ago

This package is not affected. You just need to configure your web server to use SSL.

ilirosmanaj commented 1 year ago

@miguelgrinberg, does this mean that the websocket will automatically use the web server configuration of using SSL?

miguelgrinberg commented 1 year ago

SSL decryption and encryption is done by the web sierver to the incoming and outgoing traffic. This package does not need to know what happens to the traffic, it always works with the raw data.