Problem with uploading large video files - IO/HTTP error

Hello,
I recently moved one of my projects to new server using NGINX + php-fpm
.The problem is, that when I upload ~50 MB video it works well, but when
I try to upload bigger file - it gives me IO or sometimes HTTP error.

php.ini
max_execution_time = 900
max_input_time = 900
memory_limit = 2048M
post_max_size = 2048M
upload_max_filesize = 2048M
file_uploads = On

nginx.conf
client_max_body_size 2048m;
client_body_timeout 900;
client_header_timeout 900;

my php-fpm logs are empy, my nginx error log too
Thanks

Posted at Nginx Forum:

the upload size is related with your disk size which nginx cache the
temp
file.
please check where the temp file locates.

thanks
George

My /tmp/ folder is chmod 777 ,
df -h
/dev/md0 915G 220G 650G 26% /

Posted at Nginx Forum:

Hello I solved the problem, I was using the cloudflare services and
currently theu support only 50MB upload on their free plans.
After I removed their services the website works again.

Regards

Posted at Nginx Forum: