Rewrite all HTTP to HTTPS

PHOTO EMBED

Wed Jun 08 2022 06:41:17 GMT+0000 (Coordinated Universal Time)

Saved by @andersdeleuran #apache

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
content_copyCOPY

As a .htaccess file