Skip to content

Commit

Permalink
Merge pull request #4098 from kevinsimper/patch-1
Browse files Browse the repository at this point in the history
Update configmap about adding custom locations
  • Loading branch information
k8s-ci-robot authored May 18, 2019
2 parents 0f13d65 + ddc2ce5 commit c12059b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user-guide/nginx-configuration/configmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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

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)
Expand Down

0 comments on commit c12059b

Please sign in to comment.