Skip to content

parallax/dynamic-default-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fed up of ugly Nginx/Openresty errors generated by your Nginx Ingress? So were we.

Works with: NGINX: 0.26.1

The above is important - there are sometimes changes to the template between nginx releases. Get the wrong one and mayhem can ensue.

This deployment can be swapped in for the normal default backend that ships with Nginx Ingress and is easy to customise.

There's some templating used in the k8s/yaml directory that is designed to be used with our tool kbuild which we use for deployments, but it should be trivial to modify if you want to use it to deploy in another way.

Currently supports text/html, application/json and application/xml. If you send it anything else in an accept header you'll just get plain text back.

About

Default backend for Nginx Ingress that responds with nice errors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages