Skip to content

Commit

Permalink
Fix spelling and remove local reference of 404 docker image (#4581)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored Sep 22, 2019
1 parent f96cc3c commit c1ed6db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion docs/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ In a relatively big clusters with frequently deploying apps this feature saves s

Because the ingress controller works using the [synchronization loop pattern](https://coreos.com/kubernetes/docs/latest/replication-controller.html#the-reconciliation-loop-in-detail), it is applying the configuration for all matching objects. In case some Ingress objects have a broken configuration, for example a syntax error in the `nginx.ingress.kubernetes.io/configuration-snippet` annotation, the generated configuration becomes invalid, does not reload and hence no more ingresses will be taken into account.

To prevent this situation to happen, the nginx ingress controller exposes optionnally a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
To prevent this situation to happen, the nginx ingress controller optionally exposes a [validating admission webhook server][8] to ensure the validity of incoming ingress objects.
This webhook appends the incoming ingress objects to the list of ingresses, generates the configuration and calls nginx to ensure the configuration has no syntax errors.

[0]: https://github.com/openresty/lua-nginx-module/pull/1259
Expand Down
4 changes: 0 additions & 4 deletions docs/user-guide/default-backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ 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.

0 comments on commit c1ed6db

Please sign in to comment.