]> git.openstreetmap.org Git - chef.git/commitdiff
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 f069e0d49cf85931ee58b294cdeaa502f17180b3..b05dd8d19671b998bf32644a9b716ebbf36af923 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 7ed9d9251c6456ea51269c1988c0b1fabb081d6e..7cea946c43929f2615c061ec1afd45b1a1f10326 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