feat: enhance Apache config for Traefik reverse proxy
- Add RemoteIP configuration to capture real client IPs - Enable HTTPS detection via X-Forwarded-Proto header - Add security headers (X-Frame-Options, CSP, etc.) - Disable Apache WebDAV to prevent conflicts with Nextcloud - Add module activation script for remoteip and env - Optimize Directory options (FollowSymLinks without MultiViews) - Add commented alternative PHP limits for reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,10 @@ services:
|
||||
- PHP_POST_MAX_SIZE=2G
|
||||
- PHP_MAX_EXECUTION_TIME=1800
|
||||
- PHP_MAX_INPUT_TIME=1800
|
||||
# - PHP_UPLOAD_MAX_FILESIZE=1024G
|
||||
# - PHP_POST_MAX_SIZE=1024G
|
||||
# - PHP_MAX_EXECUTION_TIME=86400
|
||||
# - PHP_MAX_INPUT_TIME=86400
|
||||
# Apache
|
||||
- APACHE_BODY_LIMIT=2147483648
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user