When i upload large files to my nextcloud-instance, often a 502: Bad Gateway error appears.
I have a nextcloud running from a docker container
which is basically uses the container
I start the nextcloud with docker-compose
This exposes nextcloud at localhost:8887. I expose it to the web with an apache2-proxy.
But i have no idea of php and don’t know where and how to modify these values (in the container or on my host?) Where inside the container? I cannot find a php.ini.
What i found is the config.php in the config-volume mapped between the host and the docker container.
When i inspect the container i find:
which has the following lines
php_admin_value[always_populate_raw_post_data] = -1
php_admin_value[post_max_size] = 10G
php_admin_value[upload_max_filesize] = 10G
php_admin_value[error_log] = /dev/stderr
php_admin_flag[log_errors] = on
several .ini-files within
the following files
the www.conf ends with the lines
;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M
In no file i found configuration entries for the max_input_time or max_execution_time .
Does anybody has an idea how to find out, what max_input_time i have currently and which config file to change in order to increase this value?
Any help is appreaciated,