added html error pages
This commit is contained in:
parent
8b5f923949
commit
36a0e5df5d
19
usr/share/nginx/html/404.html
Normal file
19
usr/share/nginx/html/404.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Error 404 - Not Found</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
margin: 0 auto;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Are you lost?</h1>
|
||||
<p>I looked all over but couldn't find what you wanted! I promise I
|
||||
tried my best!</p>
|
||||
<h3><em>Please make sure you typed the right address and try again</em></h3>
|
||||
</body>
|
||||
</html>
|
21
usr/share/nginx/html/50x.html
Normal file
21
usr/share/nginx/html/50x.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Error 50x - Server Error</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
margin: 0 auto;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Oops! My bad!</h1>
|
||||
<p>Seems there's something wrong with me... my configuration seems
|
||||
screwy.</p>
|
||||
<p>I'm sure my admin is looking into the issue and will have me up and
|
||||
running again in no time! Sorry about this.</p>
|
||||
<h3><em>Please try again later</em></h3>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user