Skip to content
Snippets Groups Projects
Commit f275c2a4 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[FIX] fail2ban errors in config file

parent b57e927f
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ before = paths-debian.conf ...@@ -4,6 +4,7 @@ before = paths-debian.conf
[DEFAULT] [DEFAULT]
# MISC # MISC
ignoreip = 127.0.0.1/8{% if inventory_hostname in groups.docker | default([]) %} 172.16.0.0/12 192.168.0.0/16{% endif %}{% for host in groups.docker_nagios | default([]) %} {{ hostvars[host].ansible_host }}/32{% endfor %} ignoreip = 127.0.0.1/8{% if inventory_hostname in groups.docker | default([]) %} 172.16.0.0/12 192.168.0.0/16{% endif %}{% for host in groups.docker_nagios | default([]) %} {{ hostvars[host].ansible_host }}/32{% endfor %}
ignorecommand = ignorecommand =
bantime = 86400 ; ban for 1 day bantime = 86400 ; ban for 1 day
findtime = 3600 ; search for 1 hour findtime = 3600 ; search for 1 hour
...@@ -82,7 +83,7 @@ logpath = /var/log/fail2ban.log ...@@ -82,7 +83,7 @@ logpath = /var/log/fail2ban.log
{% if inventory_hostname in groups.docker | default([]) and inventory_hostname not in groups.docker_nextcloud | default([]) %} {% if inventory_hostname in groups.docker | default([]) and inventory_hostname not in groups.docker_nextcloud | default([]) %}
[traefik-auth] [traefik-auth]
chain = DOCKER-USER chain = FORWARD
enabled = true enabled = true
{% if docker_userns_remap %} {% if docker_userns_remap %}
logpath = /var/lib/docker/{{ dockremap_subuid | default("*") }}.{{ dockremap_subgid | default("*") }}/volumes/inverseproxy_logs/_data/access.log logpath = /var/lib/docker/{{ dockremap_subuid | default("*") }}.{{ dockremap_subgid | default("*") }}/volumes/inverseproxy_logs/_data/access.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment