Remove redirects to http

Change-Id: I5ab97b0bc58ebec86c8201ba200df859ae7d32b4
Signed-off-by: Denis Roy <denis.roy@eclipse-foundation.org>
diff --git a/download.eclipse.org/404.php b/download.eclipse.org/404.php
index eb8a004..b847877 100644
--- a/download.eclipse.org/404.php
+++ b/download.eclipse.org/404.php
@@ -1,6 +1,6 @@
 <?php
 /**
- * Copyright (c) 2013, 2019 Eclipse Foundation and others.
+ * Copyright (c) 2013, 2019, 2021 Eclipse Foundation and others.
  *
  * This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License 2.0
@@ -14,7 +14,7 @@
   $archive_dir = str_replace("download.eclipse.org", "archive.eclipse.org", $dir);
   if(is_file($archive_dir)) {
     header("HTTP/1.1 301 Moved Permanently");
-    header("Location: " . (empty($_SERVER['HTTPS']) ? "http" : "https") . "://archive.eclipse.org" . $_SERVER['REQUEST_URI']);
+    header("Location: https://archive.eclipse.org" . $_SERVER['REQUEST_URI']);
     exit;
   }
 
@@ -105,7 +105,7 @@
       if(is_dir($archive_dir)) {
         $message_html = "<h1>Moved to archives</h1>";
                           $message_html .= "<p>It appears this content was moved to the archives. You can try accessing this URL instead:<br /><br />";
-        $message_html .= "&#160; &#160; <a href=\"//archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "\">http://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "</a></p>";
+        $message_html .= "&#160; &#160; <a href=\"//archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "\">https://archive.eclipse.org" . $_SERVER['REQUEST_URI'] . "</a></p>";
 
         # doc title
         $html = str_replace("<title>Not Found</title>", "<title>Moved</title>", $html);