]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: remove details pool
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 13 Apr 2020 09:02:42 +0000 (11:02 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 13 Apr 2020 09:02:42 +0000 (11:02 +0200)
cookbooks/nominatim/attributes/default.rb
cookbooks/nominatim/templates/default/apache.erb

index 67708f9a1423691af2605039184c44f67dcaca77..93b7daf074641b7fa957a53a041c7722ff5fe59e 100644 (file)
@@ -18,11 +18,6 @@ default[:nominatim][:fpm_pools] = {
     :port => "8001",
     :pm => "static",
     :max_children => "10"
-  },
-  :details => {
-    :port => "8002",
-    :pm => "static",
-    :max_children => "2"
   }
 }
 
index 123c758f5f085f7226f182f632385da62ed28577..b739e7995a18278f357820fa2bc509f78c18a32e 100644 (file)
@@ -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]
 </VirtualHost>
 
 <VirtualHost *:80>