-include_recipe "fail2ban"
-
-fail2ban_filter "nominatim" do
- failregex '^<HOST> - - \[\] "[^"]+" 429 '
-end
-
-fail2ban_jail "nominatim" do
- filter "nominatim"
- logpath "/var/log/apache2/nominatim.openstreetmap.org-access.log"
- ports [80, 443]
- maxretry 100
-end
-