You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
538 B
YAML

---
# domain # For deriving rule_name
rule_name: "{{ domain }}"
filter_name: "{{ rule_name }}"
jail_name: "{{ rule_name }}"
filter_file: "{{ global_fail2ban_filters_directory }}/{{ filter_name }}.local"
jail_file: "{{ global_fail2ban_jails_directory }}/{{ jail_name }}.local"
# unit_name # Systemd unit name of service for getting logs, for deriving journal_filter
journal_match: "_SYSTEMD_UNIT={{ unit_name }}"
fail_regex: [] # Regex for fail2ban
ignore_regex: []
max_retries: 10
find_time: 60
ban_time: 60
ban_ports:
- 80
- 443