diff --git a/htdocs/public/index.php b/htdocs/public/index.php
index cb6639f9c0bd53eaca19bd4610fa8e9df29bbdb1..42f99833b36d8e14b586c2f91d41e0f48d8629fc 100755
--- a/htdocs/public/index.php
+++ b/htdocs/public/index.php
@@ -1,14 +1,4 @@
<?php require "../includes/bootstrap.php"; ?>
-<?php
-$isSecure = false;
-if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
- $isSecure = true;
-}
-elseif (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' || !empty($_SERVER['HTTP_X_FORWARDED_SSL']) && $_SERVER['HTTP_X_FORWARDED_SSL'] == 'on') {
- $isSecure = true;
-}
-$REQUEST_PROTOCOL = $isSecure ? 'https' : 'http';
-?>
<!DOCTYPE html>
<html lang="en">