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