Good afternoon, friends. I have a website in Flask. Has a thermostat with an Internet connection. On this website the post request controller sends the data (temperature, etc.). The user can browse these data. When the site is running in HTTP it flows normally. When HTTPS is predictable request from the device does not pass. How to get around that? The thermostat is not to teach SSL.
To break the project into two services? One you leave the controller with the HTTP, and the second to give the web a face for HTTPS?
tyreek66 answered on March 19th 20 at 08:30
Well, there are several options. The easiest to render endpoint for the regulator on a separate http Routh (share-level web server) and then either duplicate the logic, or shift, or prokidyvaya to https simultaneously.
Also at the level of the web server, just disable the router https. Or even set up a proxy ... I'm still unable with a dozen versions to distribute