I advise you implementing - direct file upload. Read more: https://stackoverflow.com/questions/44371643/nginx-php-failing-with-large-file-uploads-over-6-gb/44751210#44751210 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275567,275602#msg-275602