]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/base.rb
nominatim: reduce postgres archive time even more
[chef.git] / cookbooks / nominatim / recipes / base.rb
index c754d10d5fae227804af00e1680615d3dad8575f..b15e1f90470cfbf3e545e0a5291fb20a3818961f 100644 (file)
@@ -31,6 +31,7 @@ package "php-apc"
 apache_module "rewrite"
 apache_module "proxy"
 apache_module "proxy_fcgi"
+apache_module "proxy_http"
 
 home_directory = data_bag_item("accounts", "nominatim")["home"]
 source_directory = "#{home_directory}/nominatim"
@@ -121,7 +122,6 @@ execute "compile_nominatim" do
   user "nominatim"
 end
 
-
 directory "#{source_directory}/log" do
   owner "nominatim"
   group "nominatim"
@@ -258,7 +258,7 @@ directory "/data/postgresql-archive" do
 end
 
 fail2ban_filter "nominatim" do
-  failregex '^<HOST> - - \[[^]]+\] "[^"]+" (403|429) '
+  failregex '^<HOST> - - \[[^]]+\] "[^"]+" 429 '
 end
 
 fail2ban_jail "nominatim" do