These responsive HTTP error pages are based on Twitter's Bootstrap framework.
Follow a very simple design and feature auto actions with Javascript.
Forked from https://github.com/alexbaldwin/error
This project is based upon the work mentioned & linked above.
All Icons are made by their respective authors as discributed by http://flaticon.com
- Fork this repository.
- Re-direct the CSS and images to your fork.
- Customize the templates.
- Clone the repository to your NGINX root
/var/www/html
- Edit each NGINX virtual site configuration to include the following inside the
server
block.
error_page 401 /http_error-pages-nginx/401.html;
location = /http_error-pages-nginx/401.html {
root /var/www/html;
internal;
}
error_page 403 /http_error-pages-nginx/403.html;
location = /http_error-pages-nginx/403.html {
root /var/www/html;
internal;
}
error_page 404 /http_error-pages-nginx/404.html;
location = /http_error-pages-nginx/404.html {
root /var/www/html;
internal;
}
error_page 500 /http_error-pages-nginx/500.html;
location = /http_error-pages-nginx/500.html {
root /var/www/html;
internal;
}
error_page 502 /http_error-pages-nginx/502.html;
location = /http_error-pages-nginx/502.html {
root /var/www/html;
internal;
}
See the master branch.