Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Error Documents

Dark, minimal HTTP error pages for nginx, Apache, Plesk etc. styled to match my site (lovinoes.de)

Previewhttps://errors.lovinoes.de

Screenshots

400 Bad Request image

401 Authorization Required image

403 Forbidden image

404 Page Not Found image

405 Method Not Allowed image

406 Not Acceptable image

407 Proxy Authentication Required image

408 Request Timeout image

412 Precondition Failed image

413 Request Entity Too Large image

414 Request-URI Too Long image

415 Unsupported Media Type image

429 Too Many Requests image

431 Request Header Fields Too Large image

500 Internal Server Error image

501 Not Implemented image

502 Bad Gateway image

503 Service Unavailable image

504 Gateway Timeout image

Formats

Folder What you get
standalone/ One page per status code
plesk/ The same pages, named for Plesk's error document slots
nginx-ssi/ A single page covering every code, filled in by nginx

Covered: 400 401 403 404 405 406 407 408 412 413 414 415 429 431 500 501 502 503 504

nginx (SSI)

One file instead of nineteen. Copy nginx-ssi/error.html into your web root:

error_page 400 401 403 404 405 406 407 408 412 413 414 415 429 431 500 501 502 503 504 /error.html;

location = /error.html {
    ssi              on;
    ssi_value_length 1024;
    internal;
}

ssi_value_length is required — the 256-byte default truncates the 500 message. internal keeps it from being fetched as a normal URL. The status code is preserved; nginx only swaps the body.

Fonts

Chakra Petch loads from Bunny Fonts. EU-hosted with no cookies, no tracking whatsoever.


MIT licensed, see LICENSE · Questions: lovinoes@lovinoes.de

About

Dark, minimal HTTP error pages for nginx, Apache, Plesk etc. styled to match my site (lovinoes.de)

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages