update shit

This commit is contained in:
hrupi 2024-09-11 06:04:54 +03:00
parent 4e9a06fbcb
commit 2e13f886dc
6 changed files with 30 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ logs/*
ssl/*
sites-enabled/*
!sites-enabled/example.conf.tplm
!sites-enabled/http_redirect.conf

View File

@ -1,2 +1,18 @@
<h1 style='color:red'>Error 404: Not found :-(</h1>
<p>I have no idea where that file is, sorry. Are you sure you typed in the correct URL?</p>
<!DOCTYPE html>
<html>
<head>
<style>
.center {
display: block;
margin: 0 auto;
position: absolute;
top: 50%;
left: 50%;
margin: -208px 0 0 -208px;
}
</style>
</head>
<body>
<img src="https://resources.softsols.ru/404.jpg" alt="oh no..." width="416" height="416" class="center">
</body>
</html>

View File

@ -4,8 +4,11 @@
<style>
.center {
display: block;
margin-left: auto;
margin-right: auto;
margin: 0 auto;
position: absolute;
top: 50%;
left: 50%;
margin: -306px 0 0 -244px;
}
</style>
</head>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
resources/404.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,5 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
rewrite ^(.*) https://$host$1 permanent;
}