redirect to https instead of http browse.dgit
authorPeter Palfrader <peter@palfrader.org>
Mon, 13 Jul 2015 16:41:50 +0000 (18:41 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 13 Jul 2015 16:41:50 +0000 (18:41 +0200)
modules/roles/files/dgit/git.dgit.debian.org

index 5745772..530dd47 100644 (file)
@@ -31,8 +31,8 @@ Use common-debian-service-https-redirect * git.dgit.debian.org
        </Directory>
 
        RewriteEngine On
-       RewriteRule ^/$ http://browse.dgit.debian.org/ [L,R=301]
-       RewriteRule ^/git/?$ http://browse.dgit.debian.org/ [L,R=301]
+       RewriteRule ^/$ https://browse.dgit.debian.org/ [L,R=301]
+       RewriteRule ^/git/?$ https://browse.dgit.debian.org/ [L,R=301]
 
        RewriteRule ^/git/ - [L]
        RewriteRule ^/(.*) /git/$1 [PT,L]