Need help with nginx-error-pages?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

denysvitali
209 Stars 44 Forks MIT License 31 Commits 1 Opened issues

Description

Cute Error Pages for your nginx web server

Services available

!
?

Need anything else?

Contributors list

# 80,989
ubuntu1...
sublime...
pdf-con...
phantom...
25 commits
# 92,577
React
CSS
css-mod...
errors
1 commit
# 494,370
HTML
errors
Python
nginx
1 commit
# 494,371
HTML
errors
Python
nginx
1 commit

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: ```nginx $ cat /etc/nginx/conf.d/plex.conf

server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; servername plex.sv1 plex.sv1.lnet; include snippets/ssl.conf; include snippets/errorpages.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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.