correct fail2ban nextcloud
This commit is contained in:
parent
4a1eddcae3
commit
825442a4e3
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user