diff --git a/boykisser.jpg b/boykisser.jpg deleted file mode 100644 index 9e2c76c..0000000 Binary files a/boykisser.jpg and /dev/null differ diff --git a/boykisser.png b/boykisser.png new file mode 100644 index 0000000..1ba83eb Binary files /dev/null and b/boykisser.png differ diff --git a/nginx-create-pages.py b/nginx-create-pages.py index b289631..0888e29 100644 --- a/nginx-create-pages.py +++ b/nginx-create-pages.py @@ -1,10 +1,14 @@ import requests import os import json +from subprocess import getoutput -# Replace with a known-404 page for whatever you want. Doing this so the nginx version is accurate. -url_404 = 'https://askiiart.net/sdlfjsadljfs' -html_404 = str(requests.get(url_404).text) +# Replaces nginx version with actual version, provide URL to site to find nginx version +url = 'https://askiiart.net' +with open('stock-404.html', 'r') as html_404: + html_404 = html_404.read() + html_404 = html_404.replace('nginx/0.0.0', requests.get(url).headers['Server']) + boykisser_url = '/boykisser.png' gandalf_url = '/you.gif' diff --git a/pages/202.html b/pages/202.html index cde41d5..3d297fb 100644 --- a/pages/202.html +++ b/pages/202.html @@ -1,7 +1,7 @@ - -202 You In My Heart - -

202 You In My Heart

-
nginx/1.25.3
- - + +202 You In My Heart + +

202 You In My Heart

+
nginx/1.25.3
+ + diff --git a/pages/204.html b/pages/204.html index 122a766..95215ef 100644 --- a/pages/204.html +++ b/pages/204.html @@ -1,7 +1,7 @@ - -204 Head Empty No Thoughts - -

204 Head Empty No Thoughts

-
nginx/1.25.3
- - + +204 Head Empty No Thoughts + +

204 Head Empty No Thoughts

+
nginx/1.25.3
+ + diff --git a/pages/300.html b/pages/300.html index f36925d..9625760 100644 --- a/pages/300.html +++ b/pages/300.html @@ -1,7 +1,7 @@ - -300 Poll - -

300 Poll


57% Yes, 43% No
(300 Multiple Choices is the actual error code? Geddit?)
-
nginx/1.25.3
- - + +300 Poll + +

300 Poll


57% Yes, 43% No
(300 Multiple Choices is the actual error code? Geddit?)
+
nginx/1.25.3
+ + diff --git a/pages/301.html b/pages/301.html index 616fa20..0139e86 100644 --- a/pages/301.html +++ b/pages/301.html @@ -1,7 +1,7 @@ - -301 Your Princess Is In Another Castle - -

301 Your Princess Is In Another Castle

-
nginx/1.25.3
- - + +301 Your Princess Is In Another Castle + +

301 Your Princess Is In Another Castle

+
nginx/1.25.3
+ + diff --git a/pages/401.html b/pages/401.html index 377d317..a303d28 100644 --- a/pages/401.html +++ b/pages/401.html @@ -1,7 +1,7 @@ - -401 This Is Against TOS You've Been Reported - -

401 This Is Against TOS You've Been Reported

-
nginx/1.25.3
- - + +401 This Is Against TOS You've Been Reported + +

401 This Is Against TOS You've Been Reported

+
nginx/1.25.3
+ + diff --git a/pages/402.html b/pages/402.html index eecfec8..24491a6 100644 --- a/pages/402.html +++ b/pages/402.html @@ -1,7 +1,7 @@ - -402 Come Back When You're a Little MMMMMM Richer - -

402 Come Back When You're a Little MMMMMM Richer

-
nginx/1.25.3
- - + +402 Come Back When You're a Little MMMMMM Richer + +

402 Come Back When You're a Little MMMMMM Richer

+
nginx/1.25.3
+ + diff --git a/pages/403.html b/pages/403.html index 0f762a1..08b2e93 100644 --- a/pages/403.html +++ b/pages/403.html @@ -1,7 +1,7 @@ - -403 You Shall Not Pass - -

403 You Shall Not Pass


gandalf saying you looped infinitely -
nginx/1.25.3
- - + +403 You Shall Not Pass + +

403 You Shall Not Pass


gandalf saying you looped infinitely +
nginx/1.25.3
+ + diff --git a/pages/404.html b/pages/404.html index dc7ea9b..659a776 100644 --- a/pages/404.html +++ b/pages/404.html @@ -1,7 +1,7 @@ - -404 You Made A Typo In The URL, Didn't You? - -

404 You Made A Typo In The URL, Didn't You?


boykisser -
nginx/1.25.3
- - + +404 You Made A Typo In The URL, Didn't You? + +

404 You Made A Typo In The URL, Didn't You?


boykisser +
nginx/1.25.3
+ + diff --git a/pages/406.html b/pages/406.html index 1207448..eb73672 100644 --- a/pages/406.html +++ b/pages/406.html @@ -1,7 +1,7 @@ - -406 I Can't Believe You've Done This - -

406 I Can't Believe You've Done This

-
nginx/1.25.3
- - + +406 I Can't Believe You've Done This + +

406 I Can't Believe You've Done This

+
nginx/1.25.3
+ + diff --git a/pages/410.html b/pages/410.html index f7f4dd5..e65df1f 100644 --- a/pages/410.html +++ b/pages/410.html @@ -1,7 +1,7 @@ - -410 Your Father - -

410 Your Father

-
nginx/1.25.3
- - + +410 Your Father + +

410 Your Father

+
nginx/1.25.3
+ + diff --git a/pages/413.html b/pages/413.html index 101f556..486443d 100644 --- a/pages/413.html +++ b/pages/413.html @@ -1,7 +1,7 @@ - -413 Me After a Night With Your Mother - -

413 Me After a Night With Your Mother

-
nginx/1.25.3
- - + +413 Me After a Night With Your Mother + +

413 Me After a Night With Your Mother

+
nginx/1.25.3
+ + diff --git a/pages/417.html b/pages/417.html index f2e35b4..b511a2b 100644 --- a/pages/417.html +++ b/pages/417.html @@ -1,7 +1,7 @@ - -417 Me After 20-something Years With My Mother - -

417 Me After 20-something Years With My Mother

-
nginx/1.25.3
- - + +417 Me After 20-something Years With My Mother + +

417 Me After 20-something Years With My Mother

+
nginx/1.25.3
+ + diff --git a/pages/418.html b/pages/418.html index ad8743f..5b6e5d5 100644 --- a/pages/418.html +++ b/pages/418.html @@ -1,7 +1,7 @@ - -418 I'm a Teapot - -

418 I'm a Teapot

-
nginx/1.25.3
- - + +418 I'm a Teapot + +

418 I'm a Teapot

+
nginx/1.25.3
+ + diff --git a/pages/423.html b/pages/423.html index 76e6893..e81948b 100644 --- a/pages/423.html +++ b/pages/423.html @@ -1,7 +1,7 @@ - -423 Fine Then, Keep Your Secrets - -

423 Fine Then, Keep Your Secrets

-
nginx/1.25.3
- - + +423 Fine Then, Keep Your Secrets + +

423 Fine Then, Keep Your Secrets

+
nginx/1.25.3
+ + diff --git a/pages/425.html b/pages/425.html index 133d3fa..1342013 100644 --- a/pages/425.html +++ b/pages/425.html @@ -1,7 +1,7 @@ - -425 Sorry This Never Happens With Other Women - -

425 Sorry This Never Happens With Other Women

-
nginx/1.25.3
- - + +425 Sorry This Never Happens With Other Women + +

425 Sorry This Never Happens With Other Women

+
nginx/1.25.3
+ + diff --git a/pages/429.html b/pages/429.html index 295b90e..bf70b17 100644 --- a/pages/429.html +++ b/pages/429.html @@ -1,7 +1,7 @@ - -429 i'm scared stop asking me q.q - -

429 i'm scared stop asking me q.q

-
nginx/1.25.3
- - + +429 i'm scared stop asking me q.q + +

429 i'm scared stop asking me q.q

+
nginx/1.25.3
+ + diff --git a/pages/451.html b/pages/451.html index 7e8e962..41a5d87 100644 --- a/pages/451.html +++ b/pages/451.html @@ -1,7 +1,7 @@ - -451 Oi, You Got a Loicense For That Mate? - -

451 Oi, You Got a Loicense For That Mate?

-
nginx/1.25.3
- - + +451 Oi, You Got a Loicense For That Mate? + +

451 Oi, You Got a Loicense For That Mate?

+
nginx/1.25.3
+ + diff --git a/pages/502.html b/pages/502.html index f8c0cdf..9370aff 100644 --- a/pages/502.html +++ b/pages/502.html @@ -1,7 +1,7 @@ - -502 Forgive Me Father For My Gateway Has Sinned - -

502 Forgive Me Father For My Gateway Has Sinned

-
nginx/1.25.3
- - + +502 Forgive Me Father For My Gateway Has Sinned + +

502 Forgive Me Father For My Gateway Has Sinned

+
nginx/1.25.3
+ + diff --git a/pages/504.html b/pages/504.html index 2270e2e..838d15f 100644 --- a/pages/504.html +++ b/pages/504.html @@ -1,7 +1,7 @@ - -504 Gateway died on the way back from its home planet - -

504 Gateway died on the way back from its home planet

-
nginx/1.25.3
- - + +504 Gateway died on the way back from its home planet + +

504 Gateway died on the way back from its home planet

+
nginx/1.25.3
+ + diff --git a/pages/508.html b/pages/508.html index 84e1780..ea4b681 100644 --- a/pages/508.html +++ b/pages/508.html @@ -1,7 +1,7 @@ - -508 508 508 508 508 508 508 508 508 508 508 508 508 508 508 - -

508 508 508 508 508 508 508 508 508 508 508 508 508 508 508

-
nginx/1.25.3
- - + +508 508 508 508 508 508 508 508 508 508 508 508 508 508 508 + +

508 508 508 508 508 508 508 508 508 508 508 508 508 508 508

+
nginx/1.25.3
+ + diff --git a/stock-404.html b/stock-404.html new file mode 100644 index 0000000..b851041 --- /dev/null +++ b/stock-404.html @@ -0,0 +1,7 @@ + +404 Not Found + +

404 Not Found

+
nginx/0.0.0
+ +