2.6 KiB
2.6 KiB
askiiart/http-codes
HTTP status codes for nginx, but better.
Original post
Collection of @yassie_j@0w0.is's HTTP response status codes:
- 403 You Shall Not Pass
- 301 Your Princess in in Another Castle
- 451 Oi, You Got a Loicense For That Mate?
- 204 Head Empty No Thoughts
- 402 Come Back When You're a Little MMMMM Richer
- 413 Me After A Night With Your Mother
- 417 me after 20-something years with my mother (from Evvy)
- 502 Forgive Me Father For My Gateway Has Sinned
- 504 Note: Gateway died on the way back to its home planet (from spectrums i'm on: at least two)
- 508 508 508 508 508 508 508 508 508 508 508 508 508 508 508
- 418 I'm A Teapot (this is just the real one)
- 410 Your Father
- 406 I Can't Believe You've Done This
- 401 This Is Against TOS You've Been Reported
- 425 Sorry This Never Happens With Other Women
- 202 You In My Heart
- 300 Poll
- 57% Yes
- 43% No
- (300 Multiple Choices is the actual error code? Geddit?)
- 404 You Made A Typo In The URL Didn't You
- 423 Fine Then Keep Your Secrets
Additions
nginx rule
error_page 202 /error/202.html;
error_page 204 /error/204.html;
error_page 300 /error/300.html;
error_page 301 /error/301.html;
error_page 401 /error/401.html;
error_page 402 /error/402.html;
error_page 403 /error/403.html;
error_page 404 /error/404.html;
error_page 406 /error/406.html;
error_page 410 /error/410.html;
error_page 413 /error/413.html;
error_page 417 /error/417.html;
error_page 418 /error/418.html;
error_page 423 /error/423.html;
error_page 425 /error/425.html;
error_page 429 /error/429.html;
error_page 451 /error/451.html;
error_page 502 /error/502.html;
error_page 508 /error/508.html;