From a91a0c468c9f3672f90cec15840213053adb561a Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 13 Apr 2020 11:02:42 +0200 Subject: [PATCH 1/1] nominatim: remove details pool --- cookbooks/nominatim/attributes/default.rb | 5 ----- cookbooks/nominatim/templates/default/apache.erb | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 67708f9a1..93b7daf07 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -18,11 +18,6 @@ default[:nominatim][:fpm_pools] = { :port => "8001", :pm => "static", :max_children => "10" - }, - :details => { - :port => "8002", - :pm => "static", - :max_children => "2" } } diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index 123c758f5..b739e7995 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -59,8 +59,7 @@ # regular requests and autoblocks RewriteMap bulklist txt:<%= @directory %>/settings/ip_blocks.map - RewriteRule ^/(search|reverse|lookup)(\.php)?(/.*)? /pool-${bulklist:%{REMOTE_ADDR}|www}/$1.php$3 [PT] - RewriteRule ^/details(\.php)?(/.*)? /pool-${bulklist:%{REMOTE_ADDR}|details}/details.php$2 [PT] + RewriteRule ^/(search|reverse|lookup|details)(\.php)?(/.*)? /pool-${bulklist:%{REMOTE_ADDR}|www}/$1.php$3 [PT] -- 2.39.5