]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
hsts for bits
authorPeter Palfrader <peter@palfrader.org>
Tue, 22 Jul 2014 19:32:47 +0000 (21:32 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 22 Jul 2014 19:32:47 +0000 (21:32 +0200)
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index 2e0ed8c1273884644641ccc5b5baeae2575bbd1f..53f76f347abec6282b7437a0055549d3419c85a6 100644 (file)
@@ -33,7 +33,7 @@ Use common-static-vhost-with-extra security-team.debian.org "ServerAlias securit
        RewriteEngine On
        RewriteCond %{REQUEST_URI} !^/feeds/
        RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R,L]
-       #RewriteRule ^/(.*)$ https://bits.debian.org/$1 [NC,R=301,L]
+       #RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R=301,L]
 
        Use static-bits.debian.org-base
        CustomLog /var/log/apache2/bits.debian.org-access.log privacy
@@ -44,7 +44,7 @@ Use common-static-vhost-with-extra security-team.debian.org "ServerAlias securit
        CustomLog /var/log/apache2/bits.debian.org-access.log privacyssl
 
        Use common-debian-service-ssl bits.debian.org
-       Use common-ssl-HSTS
+       Use common-ssl-HSTS
 </VirtualHost>
 
 # www.backports.org