No description
Find a file
2023-11-08 22:59:30 -06:00
pages Initial commit 2023-11-08 22:59:30 -06:00
nginx-create-pages.py Initial commit 2023-11-08 22:59:30 -06:00
README.md Initial commit 2023-11-08 22:59:30 -06:00
status-codes.json Initial commit 2023-11-08 22:59:30 -06:00
status-codes.tsv Initial commit 2023-11-08 22:59:30 -06:00
tsv-to-json.py Initial commit 2023-11-08 22:59:30 -06:00

askiiart/http-codes

HTTP status codes for nginx, but better.

Original post

Collection of @yassie_j@0w0.is's HTTP response status codes:

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;