]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/apache.erb
Remove forced downgrade of hp-health
[chef.git] / cookbooks / planet / templates / default / apache.erb
index 4528f46fef8ace583339f0ea9e5bf7c2b4001466..8790c80328d18d463299542c5545f61ac127dadb 100644 (file)
@@ -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