Page 1 of 1

Force HTTPS / SSL

Posted: Saturday 15 August 2020 17:32
by jpveen
hi all,
I searched the forums, and cannot find a good solution how to force SSL for Domoticz webclients.

Best solution is to accept port80 requests, but immediately forward to https when serving the login-window. The only solution I find is to disable port 80 connectivity, but this gives trouble auto-renewing the letsencrypt certificate.

Is there a way to tell the Domoticz webserver to redirect the login screen to https:// ?

Thanks!

Re: Force HTTPS / SSL

Posted: Saturday 15 August 2020 17:55
by waaren
jpveen wrote: Saturday 15 August 2020 17:32 Is there a way to tell the Domoticz webserver to redirect the login screen to https:// ?
You can tell domoticz to ignore all traffic from http.
Maybe this solution helps ?
Another approach might be to forward the domoticz www port to the domoticz sslwww port (in your router)