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:
5
apache/nextcloud.conf
Normal file
5
apache/nextcloud.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<Directory /var/www/html/>
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride All
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user