Change default upload limit to unlimited
This commit is contained in:
parent
8e90fc0290
commit
f0a05b3137
2 changed files with 3 additions and 2 deletions
|
@ -315,7 +315,7 @@ The next table shows the options, the default value and a description
|
||||||
|
|
||||||
|name |default|
|
|name |default|
|
||||||
|---------------------------|------|
|
|---------------------------|------|
|
||||||
|body-size|1m|
|
|body-size|0 (unlimited)|
|
||||||
|custom-http-errors|" "|
|
|custom-http-errors|" "|
|
||||||
|enable-sticky-sessions|"false"|
|
|enable-sticky-sessions|"false"|
|
||||||
|enable-vts-status|"false"|
|
|enable-vts-status|"false"|
|
||||||
|
|
|
@ -28,7 +28,8 @@ import (
|
||||||
const (
|
const (
|
||||||
// http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
|
// 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
|
// 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
|
// http://nginx.org/en/docs/ngx_core_module.html#error_log
|
||||||
// Configures logging level [debug | info | notice | warn | error | crit | alert | emerg]
|
// Configures logging level [debug | info | notice | warn | error | crit | alert | emerg]
|
||||||
|
|
Loading…
Reference in a new issue