feat: add custom nginx 404 page
This commit is contained in:
1 parent
cf4d9fdd68
commit
c838cb8410
4 files changed
+39
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Страница не найдена</title>
|
||||
<style>
|
||||
:root { color-scheme: light; font-family: Georgia, "Times New Roman", serif; color: #161616; background: #fff; }
|
||||
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px; }
|
||||
main { width: min(800px, 100%); text-align: center; }
|
||||
img { display: block; width: 100%; height: auto; }
|
||||
footer { margin-top: 18px; color: #625d57; font: 0.9rem/1.5 "Trebuchet MS", ui-sans-serif, sans-serif; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<img src="/404-cat.png" alt="Кот с веником на странице ошибки 404">
|
||||
<footer>Картинка позаимствована с основного сайта catwar.net</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user