Https with Http in Flask Python

前端 未结 4 760
南方客
南方客 2021-02-04 06:25

I have a client server application. I managed to make them connect over https using SSl encryption using this

    context = SSL.Context(SSL.SSLv3_METHOD)
    con         


        
4条回答
  •  余生分开走
    2021-02-04 06:41

    First big thing: don't use the built in web server in flask to do any heavy lifting. You should use a real web server like apache (mod_wsgi) nginex + gunicore, etc. These servers have documentation on how to run http and https simultaneously.

提交回复
热议问题