From: Peter Palfrader Date: Tue, 22 Jul 2014 19:32:47 +0000 (+0200) Subject: hsts for bits X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=81e8b5f7499e90bb8cb59f09518ed7cae95660aa;p=dsa-puppet.git hsts for bits --- diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 2e0ed8c1..53f76f34 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -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 # www.backports.org