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 8744c8e..42aae82 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>