env can modify size and time of uploads

This commit is contained in:
lenovo
2022-10-22 20:02:47 +02:00
parent c16ad4963d
commit e783428a51
8 changed files with 71 additions and 218 deletions

View File

@@ -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.