diff --git a/fail2ban/templates/jail.local.j2 b/fail2ban/templates/jail.local.j2 index a1247f69..04259e4b 100644 --- a/fail2ban/templates/jail.local.j2 +++ b/fail2ban/templates/jail.local.j2 @@ -59,7 +59,7 @@ bantime = {{ fail2ban_wordpress_soft_bantime }} enabled = {{ fail2ban_roundcube }} port = http, https filter = roundcube -logpath = /var/lib/roundcube/logs/errors +logpath = /var/log/roundcube/errors maxretry = {{ fail2ban_roundcube_maxretry }} findtime = {{ fail2ban_roundcube_findtime }} bantime = {{ fail2ban_roundcube_bantime }} diff --git a/webapps/roundcube/templates/apache2.conf.j2 b/webapps/roundcube/templates/apache2.conf.j2 index 87bdf79e..db11b1ef 100644 --- a/webapps/roundcube/templates/apache2.conf.j2 +++ b/webapps/roundcube/templates/apache2.conf.j2 @@ -20,8 +20,8 @@ # LOG CustomLog /var/log/apache2/access.log vhost_combined - CustomLog /var/lib/roundcube/logs/access.log combined - ErrorLog /var/lib/roundcube/logs/error.log + CustomLog /var/log/roundcube/access.log combined + ErrorLog /var/log/roundcube/error.log # REWRITE UseCanonicalName On