Linux AMI, where is permanent redirection?

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.

You probably set the HSTS header, you can’t find the redirect because from that point on it’s all done client side.

Possibly this - https://www.troyhunt.com/understanding-http-strict-transport/

I did not know that i have set HSTS, but now i’m happy to know this feature.

Thank you
Fluc

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.