Merge pull request #6746 from simonspa/nginx-timeout

nginx: increase client_body_timeout
This commit is contained in:
Daniel
2021-10-10 11:12:09 +02:00
committed by GitHub
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