correct fail2ban nextcloud

This commit is contained in:
vincent 2021-03-01 18:46:52 +01:00
parent 4a1eddcae3
commit 825442a4e3
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@
- name: Install fail2ban jail
template:
src: fail2ban/nextcloud.local.j2
dest: /etc/fail2ban/jail.d/nextcloud_local
dest: /etc/fail2ban/jail.d/nextcloud.local
owner: root
group: root
mode: 0644

View File

@ -1,4 +1,4 @@
[gitea]
[nextcloud]
enabled = true
port = http,https
filter = nextcloud
@ -6,4 +6,4 @@ logpath = {{ nextcloud_datadirectory }}/nextcloud.log
maxretry = {{ nextcloud_fail2ban_jail_maxretry }}
findtime = {{ nextcloud_fail2ban_jail_findtime }}
bantime = {{ nextcloud_fail2ban_jail_bantime }}
action = {{ nextcloud_fail2ban_jail_action }}
action = {{ nextcloud_fail2ban_jail_action }}