Update configmap about adding custom locations

This commit is contained in:
Kevin Simper 2019-05-17 21:39:40 +02:00 committed by GitHub
parent 1bd3fd2429
commit ddc2ce5c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -751,6 +751,8 @@ Adds custom configuration to all the servers in the nginx configuration.
Adds custom configuration to all the locations in the nginx configuration. Adds custom configuration to all the locations in the nginx configuration.
You can not use this to add new locations that proxy to the Kubernetes pods, as the snippet does not have access to the Go template functions. If you want to add custom locations you will have to [provide your own nginx.tmpl](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/custom-template/).
## custom-http-errors ## custom-http-errors
Enables which HTTP codes should be passed for processing with the [error_page directive](http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page) Enables which HTTP codes should be passed for processing with the [error_page directive](http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page)