X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/0554fee1dd41f67912595ded09e2df8b4de749bf..ea44451a0f5505966a3783e82b728e865552ecb2:/cookbooks/stateofthemap/recipes/default.rb 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"