vibeeshan025 / default-backend

Nginx ingress custom default backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Pulls Go Report Card license

Default backend for nginx-ingress on Kubernetes

This is a custom default backend for nginx-ingress. The only reason for creating this project was to customize the 404 page and provide a better (and branded) user experience.

Configuration

By default, the backend will listen on port 9090 and serve an HTML page with the error file at /assets/404.html. Override the default html page by mounting a config map with the html page at a different path.

Important Note

The final image is based on scratch image, so normal file system operations won't work. See the Dockerfile for more details

Public Builds

https://hub.docker.com/r/nuvo/default-backend

Build from Source

docker build -t nuvo/default-backend .

About

Nginx ingress custom default backend

License:Apache License 2.0


Languages

Language:HTML 45.5%Language:Go 37.0%Language:Dockerfile 17.5%