From 683a828a8a8bac00bc66cb41a18191869787a4bd Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 2 Jul 2019 11:15:40 +0200 Subject: [PATCH] disable indexing on openpgpkey (re: #RT7828) --- .../static-mirroring/vhost/static-vhosts-simple.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 736cbde73..f10510d89 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -221,6 +221,12 @@ RewriteRule ^/debconf5/(.*)$ https://debconf5.debconf.org/$1 [R=permanent,L] + + + Options -Indexes + + + <%= def vhost(lines, sn, kwargs={}) @@ -273,7 +279,7 @@ vhost(lines, "dsa.debian.org" , :ssl => true) vhost(lines, "rtc.debian.org" , :ssl => true) vhost(lines, "mirror-master.debian.org" , :ssl => true) vhost(lines, "onion.debian.org" , :ssl => true) -vhost(lines, "openpgpkey.debian.org" , :ssl => true) +vhost(lines, "openpgpkey.debian.org" , :ssl => true, :extra => true) vhost(lines, "manpages.debian.org" , :ssl => true, :extra => true) vhost(lines, "cdbuilder-logs.debian.org" , :ssl => true) -- 2.20.1