Sign inSign up

tchoupinax/traefik-custom-error-pages

By tchoupinax

•Updated over 5 years ago

Bunch of custom error pages for Traefik 2.x

Image
0

10K+

tchoupinax/traefik-custom-error-pages repository overview

⁠Custom error pages for Traefik (rewrited with Hugo)

⁠Motivation

As original project⁠ is deprecated and not maintenable (I wanted to build it and Ruby dependancies throw an error), I decided to carry the project with Hugo⁠ :)

⁠Getting started

docker run -d -p 8000:80 tchoupinax/traefik-custom-error-pages

⁠Development

You have to install⁠ hugo on your environment.

For development and watching changes

hugo serve -w

For building

hugo

⁠How to use with Traefik

The complete documentation⁠

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: errorpage
spec:
  errors:
    status:
      - 400-600
    query: /{status}/
    service:
      name: traefik-custom-error-pages
      port: 80

⁠Built with

  • Hugo⁠ - The world’s fastest framework for building websites

⁠Credits

This project is forked from this⁠ project.

⁠Licence

This project is released under the MIT⁠ license.

Tag summary

Content type

Image

Digest

Size

9.4 MB

Last updated

over 5 years ago

docker pull tchoupinax/traefik-custom-error-pages