From ae29ce409e0afad7babeac5f9b16d848c9dd4783 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 22 Aug 2022 10:19:28 +0200 Subject: [PATCH] Support big file uploads in Apache Signed-off-by: szaimen --- Containers/apache/nextcloud.conf | 3 +++ reverse-proxy.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Containers/apache/nextcloud.conf b/Containers/apache/nextcloud.conf index f7c720f6..d701a264 100644 --- a/Containers/apache/nextcloud.conf +++ b/Containers/apache/nextcloud.conf @@ -24,4 +24,7 @@ Listen 8000 # Fix zero file sizes # See https://github.com/nextcloud/server/issues/3056#issuecomment-954209565 SetEnv proxy-sendcl 1 + + # See https://httpd.apache.org/docs/current/en/mod/core.html#limitrequestbody + LimitRequestBody 0 diff --git a/reverse-proxy.md b/reverse-proxy.md index 26eee6c1..bcea0033 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -64,6 +64,9 @@ Add this as a new Apache site config: Require all denied + + # Support big file uploads + LimitRequestBody 0 ```