diff --git a/customers/base/nextcloud-configmap.yml b/customers/base/nextcloud-configmap.yml
index ebf3bbd..a5c2dfd 100644
--- a/customers/base/nextcloud-configmap.yml
+++ b/customers/base/nextcloud-configmap.yml
@@ -20,8 +20,6 @@ data:
RemoteIPInternalProxy 37.156.195.22
# TODO: Package 404 for k8s
# ErrorDocument 404 /404.html
- ErrorLog /tmp/error.log
- TransferLog /tmp/error.log
LimitRequestBody 0
Require all granted
@@ -33,6 +31,47 @@ data:
+ apache2.conf: |
+ DefaultRuntimeDir ${APACHE_RUN_DIR}
+ PidFile ${APACHE_PID_FILE}
+ Timeout 300
+ KeepAlive On
+ MaxKeepAliveRequests 100
+ KeepAliveTimeout 5
+ User ${APACHE_RUN_USER}
+ Group ${APACHE_RUN_GROUP}
+ HostnameLookups Off
+ ErrorLog /dev/stderr
+ TransferLog /dev/stdout
+ LogLevel debug
+ IncludeOptional mods-enabled/*.load
+ IncludeOptional mods-enabled/*.conf
+ Include ports.conf
+
+ Options FollowSymLinks
+ AllowOverride None
+ Require all denied
+
+
+ AllowOverride None
+ Require all granted
+
+
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Require all granted
+
+ AccessFileName .htaccess
+
+ Require all denied
+
+ LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
+ LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
+ LogFormat "%h %l %u %t \"%r\" %>s %O" common
+ LogFormat "%{Referer}i -> %U" referer
+ LogFormat "%{User-agent}i" agent
+ IncludeOptional conf-enabled/*.conf
+ IncludeOptional sites-enabled/*.conf
config.php: |