diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..56232fb --- /dev/null +++ b/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine On + +# Require HTTPS **always** +RewriteCond %{HTTPS} off [OR] +RewriteCond %{HTTP:X-Forwarded-SSL} off +RewriteCond %{HTTP:X-Forwarded-Proto} !https +RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]