-include_recipe "fail2ban"
-
-fail2ban_filter "nominatim" do
- failregex '^<HOST> - - \[\] "[^"]+" 429 '
+nginx_site "nominatim" do
+ template "nginx.erb"
+ directory build_directory
+ variables :pools => node[:nominatim][:fpm_pools],
+ :frontends => search(:node, "recipes:web\\:\\:frontend"),
+ :confdir => "#{basedir}/etc"