Change default upload limit to unlimited

This commit is contained in:
Manuel de Brito Fontes 2016-12-29 20:45:34 -03:00
parent 8e90fc0290
commit f0a05b3137
2 changed files with 3 additions and 2 deletions

View file

@ -315,7 +315,7 @@ The next table shows the options, the default value and a description
|name |default|
|---------------------------|------|
|body-size|1m|
|body-size|0 (unlimited)|
|custom-http-errors|" "|
|enable-sticky-sessions|"false"|
|enable-vts-status|"false"|

View file

@ -28,7 +28,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]