Skip to content

Instantly share code, notes, and snippets.

View antonsmithnz's full-sized avatar
🐜

Anton Smith antonsmithnz

🐜
View GitHub Profile
@antonsmithnz
antonsmithnz / http-cat-error-pages.conf
Created January 7, 2025 10:19 — forked from mjmeyer/http-cat-error-pages.conf
Http.cat erorr pages for nginx
# ---------- Status Cats Error Pages!!! via: https://http.cat/ ---------
#
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1;
# typically uses dnsmasq for 127.0.0.1 resolver
#
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
#