From e941a20bcf3df06bf548cc19010be2f9ec79c38b Mon Sep 17 00:00:00 2001 From: Yann Coleu Date: Tue, 13 Jun 2017 16:10:40 +0200 Subject: [PATCH] Set body-size instead of proxy-body-size `proxy-body-size` is based on `body-size`. You have to set `body-size` because `proxy-body-size` does not make any changes on ingress behaviour. --- controllers/nginx/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/configuration.md b/controllers/nginx/configuration.md index d7d4b2c46..420eee650 100644 --- a/controllers/nginx/configuration.md +++ b/controllers/nginx/configuration.md @@ -498,7 +498,7 @@ The previous behavior can be restored using `retry-non-idempotent=true` in the c ### Custom max body size For NGINX, 413 error will be returned to the client when the size in a request exceeds the maximum allowed size of the client request body. This size can be configured by the parameter [`client_max_body_size`](http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size). -To configure this setting globally for all Ingress rules, the `proxy-body-size` value may be set in the NGINX ConfigMap. +To configure this setting globally for all Ingress rules, the `body-size` value may be set in the NGINX ConfigMap. To use custom values in an Ingress rule define these annotation: