From 53cc23e15398fa3e0a2074a994ba64ac69acaaaf Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Sat, 20 Dec 2025 12:51:36 +0100 Subject: [PATCH] chore: restore MultiViews and add all required Apache modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore MultiViews option in Directory configuration - Add headers, rewrite, dir, and mime modules to enable script - Keep remoteip and env modules for Traefik integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- apache/enable-modules.sh | 8 ++++++-- apache/nextcloud.conf | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apache/enable-modules.sh b/apache/enable-modules.sh index 504cbfa..40bf115 100644 --- a/apache/enable-modules.sh +++ b/apache/enable-modules.sh @@ -1,8 +1,12 @@ #!/bin/bash # Active les modules Apache nécessaires pour Nextcloud derrière Traefik -a2enmod remoteip # Pour récupérer les vraies IPs clients -a2enmod env # Pour SetEnvIf (détection HTTPS) +a2enmod headers +a2enmod rewrite +a2enmod dir +a2enmod mime +a2enmod remoteip # Pour récupérer les vraies IPs clients +a2enmod env # Pour SetEnvIf (détection HTTPS) # Redémarre Apache apache2ctl graceful diff --git a/apache/nextcloud.conf b/apache/nextcloud.conf index 04bc45c..10b1400 100644 --- a/apache/nextcloud.conf +++ b/apache/nextcloud.conf @@ -9,7 +9,7 @@ RemoteIPTrustedProxy 192.168.0.0/16 SetEnvIf X-Forwarded-Proto "https" HTTPS=on - Options +FollowSymLinks + Options FollowSymLinks MultiViews AllowOverride All Require all granted