diff --git a/.htaccess b/.htaccess index 58bfa2d..4ebe958 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,6 @@ RewriteEngine on RewriteCond %{HTTPS} off +RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] DirectoryIndex index.php