Problems to upload 2 GB+ files

Have a look at the docs available here:

the faq here: Upload problems

as well as:

Such “gateway” issues are quite often caused by timeouts within your webserver.