Owncloud docker - problem uploading large files

Steps to reproduce
1. Pull down the latest owncloud docker image: https://hub.docker.com/_/owncloud/
2. Pull down the latest mysql docker image: https://hub.docker.com/_/mysql/
3. Create and run the mysql container
4. Create and run the owncloud container and link it to the mysql container (had to mount a directory for /tmp to prevent large file upload issues, since it looks like files are stored here during upload):
docker run -d --name owncloud --link mysql:mysql -v /share/owncloud-home/html:/var/www/html -v /share/owncloud-home/tmp:/tmp -p 9080:80 owncloud:latest
5. Create an admin account and log into owncloud
6. Upload a large (3gb+) file

Expected behaviour
The file should be uploaded into owncloud correctly

Actual behaviour
Sometimes, it says the upload failed, and the page is forced to refresh. Sometimes the upload status bar slowly reached the end, but nothing happens for the next hour.

Server configuration
Operating system: Linux (via Docker)
Web server: Apache (via Docker)
Database: MySQL
PHP version: 7 (via Docker)
ownCloud version (see ownCloud admin page): latest
Updated from an older ownCloud or fresh install: fresh
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): whatever came with the Docker image

ownCloud log (data/owncloud.log)
N/A

Integrity status for oC9+

N/A

https://doc.owncloud.org/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html has all needed info how to update your webservers config to allow to upload large files.

I read that, but I'm having a tough time figuring out how the web server is configured inside the docker container. If someone more familiar with its set up is able to help, that would be great.

Hi,

aren't there any guides available out there explaining how to configure stuff within a docker container? This doesn't sound that much ownCloud related so i guess there should be a few guides out there available how to configure this.

The following guide shows some examples, so yes. It seems its not related to ownCloud at all but needs some basics / understanding how docker is working and how to have persistent configs within a container:

I am very familiar with docker, since I use it daily at work. What I'm not familiar with is how nginx is configured in the owncloud container. There are multiple files with the configs mentioned in the owncloud doc, and even if I changed those, it has no affect. Was hoping someone more familiar with nginx can take a look to see how to configure it.