Clean up annotations.md; extract default backend from miscellaneous
This commit is contained in:
parent
4b85ef9c9c
commit
f1e5c9b2dd
4 changed files with 183 additions and 145 deletions
17
docs/user-guide/default-backend.md
Normal file
17
docs/user-guide/default-backend.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# 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.
|
||||
|
||||
!!! 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue