]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/recipes/default.rb
Switch stateofthemap.org to letsencrypt
[chef.git] / cookbooks / stateofthemap / recipes / default.rb
index 00e314bed228ca807bc0dc3fdc3579d3370e602d..a707e0c72b5a16b7ae8caa7492c4b964b83ec4ac 100644 (file)
@@ -29,6 +29,12 @@ git "/srv/stateofthemap.org" do
   group "root"
 end
 
+ssl_certificate "stateofthemap.org" do
+  domains ["stateofthemap.org", "www.stateofthemap.org",
+           "stateofthemap.com", "www.stateofthemap.com"]
+  notifies :reload, "service[apache2]"
+end
+
 apache_site "stateofthemap.org" do
   template "apache.erb"
   directory "/srv/stateofthemap.org"