Skip to content

Tchoupinax/traefik-custom-error-pages

 
 

Repository files navigation

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.

About

Bunch of custom error pages for Traefik 2.x built with Hugo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 74.9%
  • HTML 17.9%
  • Dockerfile 7.2%