X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6766749acda8c73f24cdb134f697f24942bfe50f..847ffefc0606eae909ccc4abe752fa1629085011:/cookbooks/planet/templates/default/apache.erb diff --git a/cookbooks/planet/templates/default/apache.erb b/cookbooks/planet/templates/default/apache.erb index 4528f46fe..8790c8032 100644 --- a/cookbooks/planet/templates/default/apache.erb +++ b/cookbooks/planet/templates/default/apache.erb @@ -5,9 +5,13 @@ ServerName planet.openstreetmap.org ServerAlias planet.osm.org ServerAdmin webmaster@openstreetmap.org -<% if port == 443 -%> +<% if port == 443 -%> SSLEngine on + SSLCertificateFile /etc/ssl/certs/planet.openstreetmap.org.pem + SSLCertificateKeyFile /etc/ssl/private/planet.openstreetmap.org.key +<% else -%> + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ <% end -%> CustomLog /var/log/apache2/planet.openstreetmap.org-access.log combined