From 6fd89d367f741237730e6b15a055be4855a135b2 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 10 Jan 2018 00:53:17 +0100 Subject: [PATCH] Added optional htaccess rule to force https (#3345) Credit to @BenjaVR --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index c203fb920..b964f57d5 100644 --- a/.htaccess +++ b/.htaccess @@ -11,6 +11,12 @@ ## if you have installed to a subdirectory, enter the name here also. ## # RewriteBase / + + ## + ## Uncomment following lines to force HTTPS. + ## + # RewriteCond %{HTTPS} off + # RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] ## ## Black listed folders