Remove upload limit
This commit is contained in:
parent
31bfca4fce
commit
ee61a4a3cb
@ -49,7 +49,7 @@ http {
|
||||
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
|
||||
|
||||
# set max upload size and increase upload timeout:
|
||||
client_max_body_size 16G;
|
||||
client_max_body_size 0;
|
||||
client_body_timeout 3600s;
|
||||
fastcgi_buffers 64 4K;
|
||||
|
||||
|
@ -20,10 +20,9 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/cloud.wojciechkozlowski.eu/chain.pem;
|
||||
|
||||
# Values copied from
|
||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html and adjusted to
|
||||
# 16G.
|
||||
client_max_body_size 16G;
|
||||
# Values copied and adjusted from
|
||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html.
|
||||
client_max_body_size 0;
|
||||
client_body_timeout 3600s;
|
||||
client_body_buffer_size 512k;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user