I’ve installed Letsencrypt certificate on EC2 Linux AMI (Amazon) and all works fine,
now when i go to “http://www.mysite.com” i’m redirected to "https://www.mysite.com"
But now i can’t understand how apache is performing permanent redirect from http to https.
In fact neither httpd.conf nor ssl.conf has the directive “Redirect permanent” implemented.
I’ve also disabled .htaccess, but apache still redirect from http to https!!
But it’s magic?
Seriously,i can’t understand why.