I know there are a lot of topics about this or similar questions but I didn’t find one witch explains how to increase the upload limit on the nextcloud:apache-stable docker container.
I copied the php.ini-development to php.ini in the conf.d subfolder and set following values:
post_max_size = 16G
upload_max_filesize = 16G
memory_limit = 1024M
max_input_time = 3600
max_execution_time = 3600
in the .htaccess file in /var/www/html I added following lines:
<Directory “/var/www/html/data”>
LimitRequestBody 0
But still if I upload a file larger than 1MB “An unknown error has occurred”. Can someone help me here and also say where some config files are because the image often places config files on totally different places.
I’ve solved the problem.
In Rancher combined with kubernetes is a hidden Reverse proxy for ingress. You have to change the settings for the nextcloud containers proxy max body size so the ingress container changes that in the config files.
Hello! I was looking for this solution a few days ago, I couldn’t upload large files.
I just had “LimitRequestBody 0” to put it in my .htaccess and everything worked.
Thanks.