roundcube: disable access log

As per discussion in #2360: The front container (nginx reverse proxy) is
already logging all requests, disable the access logs for apache2 in the
roundcube container completely.
This commit is contained in:
Pim van den Berg
2022-06-15 14:30:26 +02:00
parent e8b7d6afed
commit 6f884c6c93
4 changed files with 4 additions and 10 deletions

View File

@@ -72,9 +72,8 @@ conf.jinja("/config.inc.php", context, "/var/www/html/config/config.inc.php")
# create dirs
os.system("mkdir -p /data/gpg")
# configure apache2
conf.jinja("/remoteip.conf", context, "/etc/apache2/conf-available/remoteip.conf")
os.system("a2enconf remoteip")
# disable access log for VirtualHosts that don't define their own logfile
os.system("a2disconf other-vhosts-access-log")
print("Initializing database")
try: