400 bad request

When i visit cpanel.mydomain.com:2083 i get the folowing error

400 Bad Request
The plain HTTP request was sent to HTTPS port

cloudflare

Why doesn’t it automatically redirect me to the https version?

Probally because Cloudflare is not set to full

encryption mode is Full