Go to file
2023-11-09 09:19:49 -06:00
pages Add boykisser, add gandalf gif to 403 2023-11-09 09:09:48 -06:00
boykisser.jpg Add boykisser, add gandalf gif to 403 2023-11-09 09:09:48 -06:00
nginx-create-pages.py Generic-ize boykisser URL 2023-11-09 09:11:10 -06:00
README.md Can't have error pages below 300 lol 2023-11-09 09:19:49 -06:00
status-codes.json Sort status codes, add 504, fix 300 and 404 2023-11-09 08:52:22 -06:00
you.gif Add boykisser, add gandalf gif to 403 2023-11-09 09:09:48 -06:00

askiiart/http-codes

HTTP status codes for nginx, but better.

Original post

Collection of HTTP status codes, from @yassie_j@0w0.is and a couple others:

nginx rule

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;