diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 625c03bea..c01856236 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -40,10 +40,12 @@ RUN \ sed -i \ -e 's/upload_max_filesize=1024M/upload_max_filesize=8192M/g' \ -e 's/post_max_size=1024M/post_max_size=8192M/g' \ + -e 's/max_execution_time=120/max_execution_time=3600/g' \ /etc/php*/php.ini || true && \ \ # modify nginx limits file sed -i "s|client_max_body_size 512M;|client_max_body_size 8192M;|g" /defaults/nginx/site-confs/default.conf.sample && \ + sed -i "s|client_body_timeout 300s;|client_body_timeout 900s;|g" /defaults/nginx/site-confs/default.conf.sample && \ \ # Change location of executable sed -i "s|/config|/data/config|g" /usr/bin/occ && \