From 86f6558c9be2c3a437d9971c789777f1fcaffc07 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 2 Feb 2017 08:49:05 +0000 Subject: Only redirect to HTTPS in production --- gentoobrowse/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/gentoobrowse/.htaccess b/gentoobrowse/.htaccess index 9b5f053..d300ea2 100644 --- a/gentoobrowse/.htaccess +++ b/gentoobrowse/.htaccess @@ -3,6 +3,7 @@ RewriteEngine on RewriteCond %{HTTPS} off +RewriteCond %{SERVER_NAME} randomdan.homeip.net$ RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L] RewriteCond %{REQUEST_URI} ^/package/(.*) -- cgit v1.2.3