• Stars
    star
    319
  • Rank 131,491 (Top 3 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cute Error Pages for your nginx web server

nginx-error-pages

Make your nginx error pages look great

Installation

mkdir -p /srv/http/default
git clone https://github.com/denysvitali/nginx-error-pages /srv/http/default
mkdir /etc/nginx/snippets/
ln -s /srv/http/default/snippets/error_pages.conf /etc/nginx/snippets/error_pages.conf
ln -s /srv/http/default/snippets/error_pages_content.conf /etc/nginx/snippets/error_pages_content.conf

Then add to each of your vhosts the following:

include snippets/error_pages.conf;

Example:

$ cat /etc/nginx/conf.d/plex.conf 

server {
        listen       80;
        listen       [::]:80;
        listen       443 ssl http2;
        listen       [::]:443 ssl http2;
        server_name  plex.sv1 plex.sv1.lnet;
        include snippets/ssl.conf;
        include snippets/error_pages.conf; # <== This
        root         /usr/share/nginx/html;

        location / {
                include snippets/reverse-proxy.conf;
                proxy_pass https://127.0.0.1:32400;
        }
}

Screenshots

502 Error Page

502 error page

404 Error Page

404 Error Page

418 - I'm a Teapot

418 Error Page

More Repositories

1

thebestmotherfuckingwebsite

The title says it all.
Pug
430
star
2

covid-cert-analysis

Shell
147
star
3

sonos-web

Web interface for Sonos audio systems
JavaScript
121
star
4

linux-on-pixel-c

Documentation on how to run a Linux Distro on the Google Pixel C (2015)
Shell
61
star
5

megadecrypter

Decrypt mega://enc2 links
Crystal
44
star
6

nodegram-bot

A Telegram-bot written in Node.JS
JavaScript
28
star
7

magisk-pixel2-features

A magisk module that provides Pixel 2 Features like Google Lens, Google Camera w/ Motion Pictures and Ambient Sense w/ Music Matching
Shell
27
star
8

hugo-thebestmotherfuckingblog

The Best Motherfucking Website Theme for your Hugo Blog
Less
24
star
9

gtfs-server

A General Transit Feed Specification (GTFS) server written in Rust
Rust
23
star
10

ca-combos-editor

CA combos editor
Go
20
star
11

corona-decoder

A COVID-19 Certificate Decoder based on @stapelberg's coronaqr library / CLI
Go
19
star
12

tesla-firmware-decrypt

A tool to decrypt Tesla OTA firmwares
Go
16
star
13

surface-pro-x-linux

Linux with patches for supporting the Surface Pro X (SQ2)
C
11
star
14

optitravel

Optimized Travels
Java
10
star
15

tesla-sentry-viewer-frontend

A web interface to view your Tesla Sentry Mode videos
Vue
7
star
16

brother-scanner-scripts

Brother ADS-2700W - Scan Scripts
Shell
7
star
17

dev-portal-frontend

A StackOverflow / Reddit / Disqus / Talkyard clone
Vue
6
star
18

presentation-clicker

A (Google Slides) presentation remote right in your pocket.
HTML
6
star
19

linux-smaug

Linux Kernel for Smaug / Dragon / Pixel C
C
6
star
20

dev-portal

A StackOverflow / Reddit / Disqus / Talkyard clone (backend)
Go
6
star
21

rofi-config

My rofi config
CSS
6
star
22

bbcr1-spotify

Dynamically creates a playlist on Spotify with BBC R1 songs
Crystal
6
star
23

cv

Deprecated, see https://github.com/denysvitali/cv-2/ instead
TeX
5
star
24

barcode-reader

A simple Barcode Reader w/ product matching. Yes, this is my smart-fridge app
Rust
5
star
25

go-generics-presentation

Vue
5
star
26

raria2

Recursive Aria2
Go
4
star
27

homegate-rs

Unofficial HomeGate API for Rust
Rust
4
star
28

tesla-sentry-viewer

Serve your Tesla Sentry Videos over an HTTP API, so that you can view them with any frontend
Go
4
star
29

devops-securtiy-cli

A CLI for devops.security
Go
4
star
30

hexutils

A small collection of hex / binary analysis utilities
Go
3
star
31

nvbk_parser

A static_nvbk parser
Go
3
star
32

sonos-web-rs

Sonos Web, in Rust
CSS
3
star
33

go-http-static

A super simple stupid HTTP Server based on Gin
Go
3
star
34

tsp-cup-2019

Java
3
star
35

sbb-api-rs

SBB API for Rust
Rust
3
star
36

aur-firefox-dev-automaintainer

Auto updates aur-firefox-dev
Crystal
3
star
37

vbox-proxy-server

A VirtualBox Management (VBoxManage) utility that provides a REST API with a security layer (per action security contexts)
Rust
3
star
38

go-designer

A CLI and Go package to interact with Microsoft Designer to generate images.
Go
3
star
39

aoc-2021

My solutions for Advent of Code 2021
Rust
3
star
40

flatfox-rs

Flatfox's unofficial Rust API
Rust
3
star
41

traefik-dex-auth

Traefik (2) Forward Authentication using DEX
Go
3
star
42

cv-2

An improved version of my CV (Resume) written in Vue
Vue
3
star
43

lightsshd

A cross-compilable SSH daemon
Go
3
star
44

elastically

A command line interface (CLI) to interact with OpenSearch (or Elasticsearch)
Go
3
star
45

paper-fix

Deskew and rotate your scanned documents
C++
3
star
46

dev-portal-designs

3
star
47

TheRealLPTBot

The Real LPT is always in the comments.
Rust
2
star
48

smaug-custom-initram

Custom Initramfs (ramdisk) for Smaug / Pixel C / dragon
Batchfile
2
star
49

docker-libreread

2
star
50

emoji-svg

Emojis from the Noto Emoji repository
2
star
51

emoji-tex

Noto Emoji for LaTeX
2
star
52

konsole-theme

My Konsole Theme
2
star
53

linux-notes

A small book containing notes on Linux (userspace and kernel)
2
star
54

viz-fgk-compressor

VIZ Compressor - ASD Uni Project
C
2
star
55

svgfit

Fit SVGs
JavaScript
2
star
56

tuna-ge

A Graphical Engine written in C++
C++
2
star
57

supsi-i3b

Third year of IT Engineering at SUPSI
Jupyter Notebook
2
star
58

megadl-web

Crystal
2
star
59

deployments-made-easy-slides

TypeScript
2
star
60

firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
C
2
star
61

sonos-live-stream

A small application / tutorial on how to stream audio from Pulseaudio to your Sonos system
Python
2
star
62

Interpreter

c++ interpreter for scripting language
C++
2
star
63

MusicLeds

Arduino
2
star
64

ifunny

An interpreter of a custom language (funny) written in Java
Java
2
star
65

latex-parser

A LaTeX parser, in Go
Go
2
star
66

aoc-2022

Rust
1
star
67

rings-social-frontend

Vue
1
star
68

go-sbb-api

Unofficial SBB API, written in Go
Go
1
star
69

LaunchBot

A Telegram Bot that shows upcoming space launches (made in Rust)
Rust
1
star
70

mbstatus

A small utility that return the DBUS ModemManager status as a JSON
Go
1
star
71

telegrambot-plugins

PHP
1
star
72

android-logcat-opensearch

Store your LogCat logs in OpenSearch
Shell
1
star
73

go-mobilebroadband

A Go library to interact with the Mobile Broadband stack in Linux by connecting to DBUS and querying ModemManager
Go
1
star
74

go-mobility

Go
1
star
75

docker-jira

Jira on Docker
Shell
1
star
76

sbb-cli

SBB CLI
Go
1
star
77

shortest-skipper

Skips shorte.st links
Crystal
1
star
78

denvit-blog

denv.it/blog source
Shell
1
star
79

led-jacket

Python
1
star
80

mpeg-dash-tools

Go
1
star
81

clis-everywhere

CLIs Everywhere
Vue
1
star
82

exjade

JavaScript
1
star
83

kevinmarzia

Source of kevinmarzia.ch
Vue
1
star
84

node-myapifilms

A NodeJS module that queries myapifilm.com for the IMDB and TMDB API
JavaScript
1
star
85

go-swiss-qr-bill

A small package to parse Swiss QR-Bills
Go
1
star
86

waypoint-tutorial

HTML
1
star
87

denvit-website

Source of denv.it
Dockerfile
1
star
88

i3blocks-scripts

My i3Blocks scripts
Shell
1
star
89

denysvitali

1
star
90

denvit-scripts

Personal scripts that I've placed in my ~/scripts directory
Python
1
star
91

book-info

A simple CLI tool to get some information about your book files
Go
1
star
92

SpotifyDownloader

A spotify Downloader
JavaScript
1
star
93

kevinbachelor-party

Source of kevinbachelor.party
Vue
1
star
94

yoda1-scale

A small utility to get data from the Yoda1 Bluetooh Body Scale.
Go
1
star
95

HWMonitor

HWMonitor test - Android N Dev Preview 2
Java
1
star
96

polybar-config

My Polybar config. Some scripts were copied from other repos.
Shell
1
star
97

postfinance-sync

A small CLI to get your PostFinance bookings in JSON format.
Go
1
star
98

openwrt-mobilebroadband-signal

A small utility to see the current Mobile Broadband (LTE / 5G) signal status on your OpenWRT router.
HTML
1
star