From 583321f3a94afd39f849f8d4f02a444313335e83 Mon Sep 17 00:00:00 2001 From: simonspa <1677436+simonspa@users.noreply.github.com> Date: Mon, 7 Jun 2021 18:56:54 +0200 Subject: [PATCH] Update nginx-root.conf.sample Signed-off-by: Simon Spannagel --- admin_manual/installation/nginx-root.conf.sample | 3 ++- admin_manual/installation/nginx-subdir.conf.sample | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin_manual/installation/nginx-root.conf.sample b/admin_manual/installation/nginx-root.conf.sample index e61990d0d..c62b320b3 100644 --- a/admin_manual/installation/nginx-root.conf.sample +++ b/admin_manual/installation/nginx-root.conf.sample @@ -30,8 +30,9 @@ server { # could take several months. #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; - # set max upload size + # set max upload size and increase upload timeout: client_max_body_size 512M; + client_body_timeout 300s; fastcgi_buffers 64 4K; # Enable gzip but do not remove ETag headers diff --git a/admin_manual/installation/nginx-subdir.conf.sample b/admin_manual/installation/nginx-subdir.conf.sample index ad1df1d30..ada731273 100644 --- a/admin_manual/installation/nginx-subdir.conf.sample +++ b/admin_manual/installation/nginx-subdir.conf.sample @@ -57,8 +57,9 @@ server { } location ^~ /nextcloud { - # set max upload size + # set max upload size and increase upload timeout: client_max_body_size 512M; + client_body_timeout 300s; fastcgi_buffers 64 4K; # Enable gzip but do not remove ETag headers