]> git.openstreetmap.org Git - chef.git/commitdiff
Default forum to https
authorTom Hughes <tom@compton.nu>
Mon, 5 Sep 2016 19:19:50 +0000 (20:19 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 5 Sep 2016 19:19:50 +0000 (20:19 +0100)
cookbooks/forum/templates/default/apache.erb

index 0eea9db34beaa007ec453b726ad270ac53612674..5d505363b77546cd5514b544a3eb1cff7c828505 100644 (file)
@@ -8,7 +8,7 @@
        CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
        ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
 
-       DocumentRoot /srv/forum.openstreetmap.org/html/
+       RedirectPermanent / https://forum.openstreetmap.org/
 </VirtualHost>
 
 <VirtualHost *:443>
@@ -24,5 +24,5 @@
        CustomLog /var/log/apache2/forum.openstreetmap.org-access.log combined
        ErrorLog /var/log/apache2/forum.openstreetmap.org-error.log
 
-       DocumentRoot /srv/forum.openstreetmap.org
+       DocumentRoot /srv/forum.openstreetmap.org/html
 </VirtualHost>