From 43517b36cc68753ccdf7cc7cc59ff4a288d79f43 Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Sat, 20 Dec 2025 13:03:19 +0100 Subject: [PATCH] fix: increase Apache timeouts for large file uploads (>40MB) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Timeout 3600 (1h) for long-running uploads - Enable KeepAlive with 300s timeout to maintain connections - Set MaxKeepAliveRequests to 200 for chunked uploads - Fixes sync client errors on files larger than 40MB 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- apache/nextcloud.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apache/nextcloud.conf b/apache/nextcloud.conf index 10b1400..0b86b8e 100644 --- a/apache/nextcloud.conf +++ b/apache/nextcloud.conf @@ -8,6 +8,12 @@ RemoteIPTrustedProxy 192.168.0.0/16 # Activer la confiance des en-têtes X-Forwarded-Proto SetEnvIf X-Forwarded-Proto "https" HTTPS=on +# Timeouts pour gros fichiers (>40MB) +Timeout 3600 +KeepAlive On +KeepAliveTimeout 300 +MaxKeepAliveRequests 200 + Options FollowSymLinks MultiViews AllowOverride All