Create index.html

This commit is contained in:
OSPanel 2024-04-25 19:57:20 +03:00
parent 32a23a3e20
commit 286786e3f6

View file

@ -0,0 +1,86 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<title>Как вы здесь оказались?</title>
<style>
a {
background-color: transparent;
-webkit-text-decoration-skip: objects
}
a:active,
a:hover {
outline-width: 0
}
*,
*:after,
*:before {
box-sizing: inherit;
margin: 0;
padding: 0;
color: #000;
}
html {
box-sizing: border-box;
font-size: 1px !important;
}
body {
font: normal 14rem/21rem Arial, 'Helvetica CY', 'Nimbus Sans L', sans-serif;
background-color: #E5EEF5;
}
.outer {
display: table;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.middle {
display: table-cell;
vertical-align: middle;
}
.inner {
margin-left: auto;
margin-right: auto;
max-width: 570rem;
min-width: 360rem;
padding: 20rem;
}
h1 {
line-height: 48rem;
font-size: 48rem;
margin-bottom: 45rem;
}
</style>
</head>
<body>
<div class='outer'>
<div class='middle'>
<div class='inner' id='t1'>
<h1>Как вы здесь оказались?</h1>Для перенаправления запросов IP-адреса к локальному домену создайте соответствующий алиас в настройках целевого домена.<br><br>Если вы обращались к конкретному домену, то проверьте наличие его конфигурации в итоговом конфиге сервера.
</div>
</div>
</div>
<script>
var userLang = navigator.language || navigator.userLanguage;
var userLang_detected = userLang.toLowerCase();
if (userLang_detected != 'ru-ru' && userLang_detected != 'ru') {
document.title = 'How did you get here?';
document.getElementById('t1').innerHTML = '<h1>How did you get here?</h1>To redirect IP address requests to the local domain, create the appropriate alias in the target domain settings.<br><br>If you have accessed a specific domain, then check for its configuration in the final server config.';
}
</script>
</body>
</html>