]> 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 9dd0f1c1fcfd80d7bee959c9dc0f8cb865251794..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"
@@ -257,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