From 73aa22942fb75f143c3361e29456b10086eff9be Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 15 Mar 2022 15:57:01 +0000 Subject: [PATCH] - Added forcing https in the htaccess on need --- skeleton/public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skeleton/public/.htaccess b/skeleton/public/.htaccess index b3bd338..11311da 100644 --- a/skeleton/public/.htaccess +++ b/skeleton/public/.htaccess @@ -1,6 +1,10 @@ RewriteEngine On + # Force HTTPS (disabled by default) + # RewriteCond %{HTTPS} off + # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + # Remove trailing slashes from request URL RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$