A set of custom minimalist 4xx and 5xx error pages for Nginx.
Navigate into Nginx's default document directory:
cd /usr/share/nginx/htmlClone the repository:
git clone https://github.com/bartosjiri/nginx-errors.gitAdd the custom error pages to the server's default configuration in
/etc/nginx/sites-enabled/defaultfile:server { ... include /usr/share/nginx/html/nginx-errors/nginx-errors.conf }Verify the configuration and reload Nginx:
sudo nginx -t sudo service nginx reload