feat: add custom Apache configuration for Nextcloud

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 <noreply@anthropic.com>
This commit is contained in:
BeauTroll
2025-12-19 18:41:19 +01:00
parent b802c8a5cd
commit 6fa7704c13
2 changed files with 6 additions and 0 deletions

5
apache/nextcloud.conf Normal file
View File

@@ -0,0 +1,5 @@
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>

View File

@@ -6,6 +6,7 @@ services:
- "127.0.0.1:8888:80" - "127.0.0.1:8888:80"
volumes: volumes:
- ./data:/var/www/html - ./data:/var/www/html
- ./apache/nextcloud.conf:/etc/apache2/conf-enabled/nextcloud.conf:ro
environment: environment:
# Database # Database
- MYSQL_HOST=db - MYSQL_HOST=db