env can modify size and time of uploads
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
#
|
||||
# < ssl_protocols TLSv1.2 TLSv1.3;
|
||||
# > ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
#
|
||||
# http :
|
||||
# < client_max_body_size 640m;
|
||||
# > client_max_body_size 1m;
|
||||
|
||||
# /etc/nginx/nginx.conf
|
||||
|
||||
@@ -55,7 +51,7 @@ http {
|
||||
# indicated by the request header Content-Length. If the stated content
|
||||
# length is greater than this size, then the client receives the HTTP
|
||||
# error code 413. Set to 0 to disable. Default is '1m'.
|
||||
client_max_body_size 640m;
|
||||
client_max_body_size 1m;
|
||||
|
||||
# Sendfile copies data between one FD and other from within the kernel,
|
||||
# which is more efficient than read() + write(). Default is off.
|
||||
|
||||
Reference in New Issue
Block a user