Add sotm.org as alias for stateofthemap.org
authorTom Hughes <tom@compton.nu>
Fri, 21 Jul 2017 09:27:46 +0000 (10:27 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 21 Jul 2017 09:27:46 +0000 (10:27 +0100)
cookbooks/stateofthemap/recipes/default.rb
cookbooks/stateofthemap/templates/default/apache.erb

index f069e0d..b05dd8d 100644 (file)
@@ -31,7 +31,8 @@ end
 
 ssl_certificate "stateofthemap.org" do
   domains ["stateofthemap.org", "www.stateofthemap.org",
-           "stateofthemap.com", "www.stateofthemap.com"]
+           "stateofthemap.com", "www.stateofthemap.com",
+           "sotm.org", "www.sotm.org"]
   notifies :reload, "service[apache2]"
 end
 
index 7ed9d92..7cea946 100644 (file)
@@ -3,8 +3,10 @@
 <VirtualHost *:80>
         ServerName stateofthemap.org
         ServerAlias stateofthemap.com
+        ServerAlias sotm.org
         ServerAlias www.stateofthemap.org
         ServerAlias www.stateofthemap.com
+        ServerAlias www.sotm.org
         ServerAdmin webmaster@openstreetmap.org
 
         CustomLog /var/log/apache2/stateofthemap.org-access.log combined
 
 <VirtualHost *:443>
         ServerName stateofthemap.com
+        ServerAlias sotm.org
         ServerAlias www.stateofthemap.org
         ServerAlias www.stateofthemap.com
+        ServerAlias www.sotm.org
         ServerAdmin webmaster@openstreetmap.org
 
         CustomLog /var/log/apache2/stateofthemap.org-access.log combined