2018-05-03 09:46:39 +00:00
|
|
|
# Default backend
|
|
|
|
|
|
|
|
The default backend is a service which handles all URL paths and hosts the nginx controller doesn't understand
|
|
|
|
(i.e., all the requests that are not mapped with an Ingress).
|
|
|
|
|
|
|
|
Basically a default backend exposes two URLs:
|
|
|
|
|
|
|
|
- `/healthz` that returns 200
|
|
|
|
- `/` that returns 404
|
|
|
|
|
|
|
|
!!! example
|
|
|
|
The sub-directory [`/images/404-server`](https://github.com/kubernetes/ingress-nginx/tree/master/images/404-server)
|
|
|
|
provides a service which satisfies the requirements for a default backend.
|
2018-08-30 18:24:56 +00:00
|
|
|
|
2018-05-03 09:46:39 +00:00
|
|
|
!!! example
|
|
|
|
The sub-directory [`/images/custom-error-pages`](https://github.com/kubernetes/ingress-nginx/tree/master/images/custom-error-pages)
|
|
|
|
provides an additional service for the purpose of customizing the error pages served via the default backend.
|