ansible-role-nextcloud/templates/fail2ban/jail.conf.j2

12 lines
243 B
Django/Jinja

# {{ ansible_managed }}
[nextcloud-{{ item.user }}]
backend = auto
enabled = true
port = 80,443
protocol = tcp
filter = nextcloud
maxretry = 3
bantime = 86400
findtime = 43200
logpath = {{ nextcloud_root }}/{{ item.name }}/data/nextcloud.log