From 6fa7704c132329dbae6fa381e6b44263995a09d2 Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Fri, 19 Dec 2025 18:41:19 +0100 Subject: [PATCH] feat: add custom Apache configuration for Nextcloud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add custom Apache configuration file to optimize Nextcloud performance and security. Mount nextcloud.conf into Apache's conf-enabled directory for automatic loading. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- apache/nextcloud.conf | 5 +++++ docker-compose.yml | 1 + 2 files changed, 6 insertions(+) create mode 100644 apache/nextcloud.conf diff --git a/apache/nextcloud.conf b/apache/nextcloud.conf new file mode 100644 index 0000000..29752a9 --- /dev/null +++ b/apache/nextcloud.conf @@ -0,0 +1,5 @@ + + Options FollowSymLinks + AllowOverride All + Require all granted + diff --git a/docker-compose.yml b/docker-compose.yml index 1810bea..e6b1a58 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,7 @@ services: - "127.0.0.1:8888:80" volumes: - ./data:/var/www/html + - ./apache/nextcloud.conf:/etc/apache2/conf-enabled/nextcloud.conf:ro environment: # Database - MYSQL_HOST=db