From 66ac60dd82ad442add0453ca074727227135ed10 Mon Sep 17 00:00:00 2001 From: Erick Ruiz de Chavez Date: Wed, 22 Sep 2021 11:30:38 -0400 Subject: [PATCH] Add missing file --- .htaccess | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .htaccess 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]