]> git.openstreetmap.org Git - chef.git/commitdiff
Redirect the piwik login page to https
authorTom Hughes <tom@compton.nu>
Thu, 7 Aug 2014 13:15:47 +0000 (14:15 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 7 Aug 2014 13:15:47 +0000 (14:15 +0100)
cookbooks/piwik/templates/default/apache.erb

index 8744c8e892ffffdf4dc2e24b79de8f6cbf2afb1f..42aae8254076a47c72b03ab5346200b11aea935b 100644 (file)
@@ -9,6 +9,7 @@
        ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log
 
        DocumentRoot /srv/piwik.openstreetmap.org
+       RedirectPermanent /index.php https://piwik.openstreetmap.org/index.php
 </VirtualHost>
 
 <VirtualHost *:443>