I have SSL certificate, and I made the configuration and the Moodle site is working well. all the HTTP requests must be redirected to https.
however, in the login page, it open as https, when I delete s, it will open not secure
I tested it when I log in, all requests are directed to the https.
1)first I write the site address with http > it is redirected to https
2)I delete the s >http, the site doesn't redirect and give not secure content
3)I login to Moodle, it redirects me to https, and after login if I enforced http, it will redirect me to secure site