mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Update nginx-root.conf.sample
Signed-off-by: Simon Spannagel <simonspa@kth.se>
This commit is contained in:
committed by
Simon Spannagel
parent
756b67438b
commit
583321f3a9
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user