diff --git a/data/assets/nextcloud/nextcloud.conf b/data/assets/nextcloud/nextcloud.conf index 49a585d2..2eaf6faa 100644 --- a/data/assets/nextcloud/nextcloud.conf +++ b/data/assets/nextcloud/nextcloud.conf @@ -76,6 +76,7 @@ server { fastcgi_pass phpfpm:9000; fastcgi_intercept_errors on; fastcgi_request_buffering off; + client_max_body_size 10G; } location ~ ^/(?:updater|ocs-provider)(?:$|/) { diff --git a/data/assets/nextcloud/site.nextcloud.custom b/data/assets/nextcloud/site.nextcloud.custom index c28700b0..6901df76 100644 --- a/data/assets/nextcloud/site.nextcloud.custom +++ b/data/assets/nextcloud/site.nextcloud.custom @@ -19,6 +19,7 @@ fastcgi_pass phpfpm:9000; fastcgi_intercept_errors on; fastcgi_request_buffering off; + client_max_body_size 10G; } location ~ ^/nextcloud/(?:updater|ocs-provider)(?:$|/) { try_files $uri/ =404;