/httpstatusdogs-nginx

Nginx conf to use http://httpstatusdogs.com images as nginx error pages

MIT LicenseMIT

httpstatusdogs-nginx

Nginx conf to use httpstatusdogs.com images as nginx error pages

Usage

  1. Create a directory to put the images & codes.conf
  2. Use the bash commands in codes.conf to download the images and generate the error pages
  3. Update the paths in codes.conf to match your environment
  4. Include codes.conf in any of your nginx server blocks
  5. Reload nginx
  6. Share and enjoy :)

Example

server {
  root /var/www/test;
  server_name test.dev;
  listen 80;
  index index.html;
  
  include /usr/local/nginx/includes/statusdogs/codes.conf;
}

Credits

Huge thanks to Mike Lee for putting together the awesome httpstatusdogs.com