Update nginx-root.conf.sample

Signed-off-by: Simon Spannagel <simonspa@kth.se>
This commit is contained in:
simonspa
2021-06-07 18:56:54 +02:00
committed by Simon Spannagel
parent 756b67438b
commit 583321f3a9
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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