]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/apache.erb
Update carto stylesheet to v2.32.0
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index d48e04212ee2620738d1e94148c05c8e34362a9f..d14a5c8edfe372ad12c33323f57b944ef2c68471 100644 (file)
@@ -16,6 +16,7 @@
     # Enable SSL
     #
     SSLEngine on
+    SSLProxyEngine on
 <% end -%>
 
     CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined
@@ -56,7 +57,7 @@
 
     # regular requests and autoblocks
     RewriteMap bulklist txt:<%= @directory %>/settings/ip_blocks.map
-    RewriteRule ^/(search|reverse|details)(\.php)?(/.*)? /pool-${bulklist:%{REMOTE_ADDR}|www}/$1.php$3 [PT]
+    RewriteRule ^/(search|reverse|details|lookup)(\.php)?(/.*)? /pool-${bulklist:%{REMOTE_ADDR}|www}/$1.php$3 [PT]
 
 </VirtualHost>