X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4a1fc4f0dd3e1be2d1936c7d9285486d51b6e95c..9c4e2ea93ca68475bf9871484f2f6787e00677ba:/cookbooks/nominatim/templates/default/apache.erb diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index 5cda3e467..9d29290e8 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -76,6 +76,11 @@ CustomLog <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log + RewriteEngine On + + # manual blocks + Include <%= @directory %>/settings/apache_blocks.conf + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ RedirectPermanent / https://nominatim.openstreetmap.org/