X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/0554fee1dd41f67912595ded09e2df8b4de749bf..5bac522a83a65e8a6c0b20e179ee794321ad4a99:/cookbooks/stateofthemap/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 00e314bed..a707e0c72 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -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"