disable indexing on openpgpkey (re: #RT7828)
authorPeter Palfrader <peter@palfrader.org>
Tue, 2 Jul 2019 09:15:40 +0000 (11:15 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 2 Jul 2019 09:15:40 +0000 (11:15 +0200)
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index 736cbde..f10510d 100644 (file)
        RewriteRule ^/debconf5/(.*)$ https://debconf5.debconf.org/$1 [R=permanent,L]
 </Macro>
 
+<Macro vstatic-vhost-extra-openpgpkey.debian.org>
+       <Location />
+               Options -Indexes
+       </Location>
+</Macro>
+
 <%=
 
 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)