From 4697f6f0f0068292fbb0daff1ceb8dc53e7aeaed Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:10:39 +0200 Subject: [PATCH] Update Dockerfile --- nextcloud/Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index e2a8461ae..47c56f3de 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -39,21 +39,21 @@ RUN \ \ # modify data limits file sed -i \ - -e 's/upload_max_filesize/c upload_max_filesize=8192M' \ - -e 's/post_max_size/c post_max_size=8192M' \ - -e 's/max_execution_time/c max_execution_time=3600' \ + -e '/upload_max_filesize/c upload_max_filesize=8192M' \ + -e '/post_max_size/c post_max_size=8192M' \ + -e '/max_execution_time/c max_execution_time=3600' \ /etc/php*/php.ini && \ \ sed -i \ - -e 's/upload_max_filesize/c upload_max_filesize=8192M' \ - -e 's/post_max_size/c post_max_size=8192M' \ - -e 's/max_execution_time/c max_execution_time=3600' \ + -e '/upload_max_filesize/c upload_max_filesize=8192M' \ + -e '/post_max_size/c post_max_size=8192M' \ + -e '/max_execution_time/c max_execution_time=3600' \ /etc/php*/conf.d/nextcloud.ini && \ \ # modify nginx limits file sed -i \ - -e 's/client_max_body_size/c client_max_body_size 8192M;' \ - -e 's/post_max_size/c client_body_timeout 900s;' \ + -e '/client_max_body_size/c client_max_body_size 8192M;' \ + -e '/post_max_size/c client_body_timeout 900s;' \ /defaults/nginx/site-confs/default.conf.sample && \ \ # Change location of log