|
@@ -66,6 +66,10 @@ DirectoryIndex index.php index.html index.htm
|
|
|
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
|
|
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
|
|
|
|
+ RewriteCond %{HTTPS} off
|
|
|
+ RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
|
|
+ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
|
+
|
|
|
# CUSTOMS
|
|
|
# redirect all materiau domains to materio.com
|
|
|
# RewriteCond %{HTTPS} off
|