Skip to content

Nginx config for custom error pages. #126

@mishailovic

Description

@mishailovic

I spend hour trying to create custom error pages with this cats, and finally found this gist: https://gist.github.com/mjmeyer/6cf8d3c1199d028f0921
Works awesome for me, all what you need is do download it to your nginx directory:

cd /etc/nginx/snippets && sudo wget https://gist.githubusercontent.com/mjmeyer/6cf8d3c1199d028f0921/raw/1866fb0bc75dcd8c0699bccf499bae2cb15dca17/http-cat-error-pages.conf

Then add this lines to your "server" block:

include snippets/http-cat-error-pages.conf
resolver 1.1.1.1

I think this should be added to README, as I think that I was not the only one who tried to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions