Hi i cannot upload 250 video file it starts and immediately stops with error that file is bigger than 8GB… i checked the nginx its same as in github …i played with some options client_max_body_size making number up to 2GB and also changed upload number to 2000MB in default.yaml and production.yaml …i still recieve errors… i have peertube hiden by reverse proxy nginx
client_max_body_size should be 12G for the upload endpoint:
try_files /dev/null @api;
}
location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
limit_except POST HEAD { deny all; }
# This is the maximum upload size, which roughly matches the maximum size of a video file.
# Note that temporary space is needed equal to the total size of all concurrent uploads.
# This data gets stored in /var/lib/nginx by default, so you may want to put this directory
# on a dedicated filesystem.
client_max_body_size 12G; # default is 1M
add_header X-File-Maximum-Size 8G always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size)
try_files /dev/null @api;
}
location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) {
client_max_body_size 6M; # default is 1M
add_header X-File-Maximum-Size 4M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size)
try_files /dev/null @api;
(your message says «up to 2G»)
client_max_body size first appears in application section here ive set it up
and theres second section as you are saying
i upgraded to version 4.3 and no longer recieve this error