diff --git a/controllers/nginx/configuration.md b/controllers/nginx/configuration.md index b5b19b627..a93f840e1 100644 --- a/controllers/nginx/configuration.md +++ b/controllers/nginx/configuration.md @@ -412,7 +412,7 @@ The following table shows the options, the default value and a description. |name |default| |---------------------------|------| -|body-size|1m| +|body-size|0 (unlimited)| |custom-http-errors|" "| |enable-dynamic-tls-records|"true"| |enable-sticky-sessions|"false"| diff --git a/controllers/nginx/pkg/config/config.go b/controllers/nginx/pkg/config/config.go index d3042ce45..0d928d7c0 100644 --- a/controllers/nginx/pkg/config/config.go +++ b/controllers/nginx/pkg/config/config.go @@ -30,7 +30,8 @@ import ( const ( // http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size // Sets the maximum allowed size of the client request body - bodySize = "1m" + // Default: unlimited. + bodySize = "0" // http://nginx.org/en/docs/ngx_core_module.html#error_log // Configures logging level [debug | info | notice | warn | error | crit | alert | emerg]