Add better HTTP error pages (from askiiart/http-status-codes)
This commit is contained in:
parent
cae684a320
commit
1ac27d0058
23 changed files with 147 additions and 0 deletions
7
add-better-http-status-codes.sh
Normal file
7
add-better-http-status-codes.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
git clone https://git.askiiart.net/askiiart/http-status-codes.git
|
||||
cp -r http-status-codes/pages/ .
|
||||
mv pages/ error/
|
||||
cp http-status-codes/you.gif assets/
|
||||
cp http-status-codes/boykisser.jpg assets/
|
||||
rm -rf http-status-codes/
|
BIN
assets/boykisser.jpg
Normal file
BIN
assets/boykisser.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
assets/you.gif
Normal file
BIN
assets/you.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
7
error/202.html
Normal file
7
error/202.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>202 You In My Heart</title></head>
|
||||
<body>
|
||||
<center><h1>202 You In My Heart</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/204.html
Normal file
7
error/204.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>204 Head Empty No Thoughts</title></head>
|
||||
<body>
|
||||
<center><h1>204 Head Empty No Thoughts</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/300.html
Normal file
7
error/300.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>300 Poll</title></head>
|
||||
<body>
|
||||
<center><h1>300 Poll</h1><br>57% Yes, 43% No<br>(300 Multiple Choices is the actual error code? Geddit?)</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/301.html
Normal file
7
error/301.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>301 Your Princess Is In Another Castle</title></head>
|
||||
<body>
|
||||
<center><h1>301 Your Princess Is In Another Castle</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/401.html
Normal file
7
error/401.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>401 This Is Against TOS You've Been Reported</title></head>
|
||||
<body>
|
||||
<center><h1>401 This Is Against TOS You've Been Reported</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/402.html
Normal file
7
error/402.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>402 Come Back When You're a Little MMMMMM Richer</title></head>
|
||||
<body>
|
||||
<center><h1>402 Come Back When You're a Little MMMMMM Richer</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/403.html
Normal file
7
error/403.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>403 You Shall Not Pass</title></head>
|
||||
<body>
|
||||
<center><h1>403 You Shall Not Pass</h1><br><img src=/you.gif alt="gandalf saying you looped infinitely" width="350"</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/404.html
Normal file
7
error/404.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>404 You Made A Typo In The URL, Didn't You?</title></head>
|
||||
<body>
|
||||
<center><h1>404 You Made A Typo In The URL, Didn't You?</h1><br><img src=https://askiiart.net/assets/boykisser.png alt="boykisser" width="350"</center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/406.html
Normal file
7
error/406.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>406 I Can't Believe You've Done This</title></head>
|
||||
<body>
|
||||
<center><h1>406 I Can't Believe You've Done This</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/410.html
Normal file
7
error/410.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>410 Your Father</title></head>
|
||||
<body>
|
||||
<center><h1>410 Your Father</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/413.html
Normal file
7
error/413.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>413 Me After a Night With Your Mother</title></head>
|
||||
<body>
|
||||
<center><h1>413 Me After a Night With Your Mother</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/417.html
Normal file
7
error/417.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>417 Me After 20-something Years With My Mother</title></head>
|
||||
<body>
|
||||
<center><h1>417 Me After 20-something Years With My Mother</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/418.html
Normal file
7
error/418.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>418 I'm a Teapot</title></head>
|
||||
<body>
|
||||
<center><h1>418 I'm a Teapot</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/423.html
Normal file
7
error/423.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>423 Fine Then, Keep Your Secrets</title></head>
|
||||
<body>
|
||||
<center><h1>423 Fine Then, Keep Your Secrets</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/425.html
Normal file
7
error/425.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>425 Sorry This Never Happens With Other Women</title></head>
|
||||
<body>
|
||||
<center><h1>425 Sorry This Never Happens With Other Women</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/429.html
Normal file
7
error/429.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>429 i'm scared stop asking me q.q</title></head>
|
||||
<body>
|
||||
<center><h1>429 i'm scared stop asking me q.q</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/451.html
Normal file
7
error/451.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>451 Oi, You Got a Loicense For That Mate?</title></head>
|
||||
<body>
|
||||
<center><h1>451 Oi, You Got a Loicense For That Mate?</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/502.html
Normal file
7
error/502.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>502 Forgive Me Father For My Gateway Has Sinned</title></head>
|
||||
<body>
|
||||
<center><h1>502 Forgive Me Father For My Gateway Has Sinned</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/504.html
Normal file
7
error/504.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>504 Gateway died on the way back from its home planet</title></head>
|
||||
<body>
|
||||
<center><h1>504 Gateway died on the way back from its home planet</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
7
error/508.html
Normal file
7
error/508.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<head><title>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</title></head>
|
||||
<body>
|
||||
<center><h1>508 508 508 508 508 508 508 508 508 508 508 508 508 508 508</h1></center>
|
||||
<hr><center>nginx/1.25.3</center>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue